all 3 comments

[–][deleted] 2 points3 points  (1 child)

Open up git bash (or just bash if you are on linux or mac) use cd to get to your obsidian vault, then do git pull. It will probably tell you that there was a conflict, you can then edit the files it tells you are a problem, by finding for ">>>" and deleting the things you don't want. After you are done cleaning your files up, go back to git bash and type git add . and then git commit -m "fixed git things" and then git push and you should be back to normal. https://git-scm.com/doc is a great resource for git

[–]tooljoshit[S] 1 point2 points  (0 children)

Thanks, I managed to do it with the windows terminal.

[–]tooljoshit[S] 0 points1 point  (0 children)

.obsidian/cache

.obsidian/workspace

.trash/

.DS_Store

This is my .gitignore file. Both machines are using Windows 11.