Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Android git pull works but push does not work #821

Open
chriss59 opened this issue Dec 2, 2024 · 2 comments
Open

[Bug]: Android git pull works but push does not work #821

chriss59 opened this issue Dec 2, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@chriss59
Copy link

chriss59 commented Dec 2, 2024

Describe the bug

git pull works.
Changes to the files do not appear in the control view and push does not work.
If I push anyway, I get the following message ‘’This will take longer: check status'’.
Any idea how to fix this, or any other simple solution how I can use git on Android with Obsidian?
I have followed this guide: https://www.reddit.com/r/ObsidianMD/comments/17odzjb/obsidian_android_syncing_via_github_in_2023/

Relevant errors (if available) from notifications or console (CTRL+SHIFT+I)

No response

Steps to reproduce

See bug description (git pull works but push not on android)

Expected Behavior

No response

Addition context

No response

Operating system

Android

Installation Method

None

Plugin version

2.30.1

@chriss59 chriss59 added the bug Something isn't working label Dec 2, 2024
@dawnfantasy
Copy link

I try avoiding editing on Android, viewing only.
but when I do, I use MGit on android to co/ci. I also disable the git plugin in Obsidian.

my .gitignore file

.obsidian/workspace.json
‎.obsidian/workspace-mobile.json
.obsidian/plugins/obsidian-git

@Chipandcharge
Copy link

Same on iOS 18
I am using Plugin v2.31.0

{
"settings": {
"commitMessage": "mobile vault backup: {{date}}",
"commitDateFormat": "YYYY-MM-DD HH:mm:ss",
"autoSaveInterval": 2,
"autoPushInterval": 0,
"autoPullInterval": 3,
"autoPullOnBoot": true,
"disablePush": false,
"pullBeforePush": true,
"disablePopups": false,
"disablePopupsForNoChanges": false,
"listChangedFilesInMessageBody": false,
"showStatusBar": true,
"updateSubmodules": false,
"syncMethod": "merge",
"customMessageOnAutoBackup": false,
"autoBackupAfterFileChange": true,
"treeStructure": false,
"refreshSourceControl": false,
"basePath": "",
"differentIntervalCommitAndPush": false,
"changedFilesInStatusBar": false,
"showedMobileNotice": true,
"refreshSourceControlTimer": 7000,
"showBranchStatusBar": true,
"setLastSaveToLastCommit": false,
"submoduleRecurseCheckout": false,
"gitDir": "",
"showFileMenu": true,
"authorInHistoryView": "hide",
"dateInHistoryView": false,
"diffStyle": "split",
"lineAuthor": {
"show": false,
"followMovement": "inactive",
"authorDisplay": "initials",
"showCommitHash": false,
"dateTimeFormatOptions": "date",
"dateTimeFormatCustomString": "YYYY-MM-DD HH:mm",
"dateTimeTimezone": "viewer-local",
"coloringMaxAge": "1y",
"colorNew": {
"r": 255,
"g": 150,
"b": 150
},
"colorOld": {
"r": 120,
"g": 160,
"b": 255
},
"textColorCss": "var(--text-muted)",
"ignoreWhitespace": false,
"gutterSpacingFallbackLength": 5,
"lastShownAuthorDisplay": "initials",
"lastShownDateTimeFormatOptions": "date"
},
"autoCommitMessage": "mobile vault backup: {{date}}"
},
"pluginVersion": "2.31.0"
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants