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

".obsidian-git-data" causing conflict issue #78

Closed
LamFTS opened this issue May 25, 2021 · 4 comments
Closed

".obsidian-git-data" causing conflict issue #78

LamFTS opened this issue May 25, 2021 · 4 comments

Comments

@LamFTS
Copy link

LamFTS commented May 25, 2021

I don't why obsidian-git generate a file called ".obsidian-git-data" in the root directory recently, and It always cause conflict isscue, It is really annoying. Is there any way to solve this problem?
图片

@Vinzent03
Copy link
Collaborator

It's there to save the date of the last auto backup/pull. It was there to fix merge conflicts. Please add it to the .gitignore

@ljantzen2
Copy link

I have the same issue, probably because I use git to sync between two computers using different locales:

Wed May 26 2021 07:35:14 GMT+0200 (sentraleuropeisk sommertid)
Tue May 25 2021 10:46:15 GMT+0200 (Central European Summer Time)
=======
Tue May 25 2021 10:35:14 GMT+0200 (sentraleuropeisk sommertid)
>>>>>>> a1c958e2c319cd25a6574d21fba0eeb8809855f9
Mon May 24 2021 13:35:13 GMT+0200 (sentraleuropeisk sommertid)
=======
Mon May 24 2021 12:34:52 GMT+0200 (Central European Summer Time)
>>>>>>> e582808127705b79d69f2de8a1a538728d2231ad
~                                                            

@Vinzent03
Copy link
Collaborator

Please take a lookt at my previous comment.

@laughedelic
Copy link

Maybe it's better to persist this information in the git config? I think this would avoid some confusion and the need to add it to gitignore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants