Sync Your Obsidian Vault for Free with Github
ฝัง
- เผยแพร่เมื่อ 20 ก.ค. 2024
- #obsidian #zettelkasten #sync
In today's video we'll look at setting up a free Obsidian sync via Github and the Obsidian Git plugin.
Become a member: curtismchale.ca/membership
Take all my courses: curtismchale.ca/education
Join my free PKM Newsletter: curtismchale.ca/pkm-weekly
Links
- Obsidian Git: github.com/denolehov/obsidian...
- Install git: git-scm.com/book/en/v2/Gettin...
- Github: github.com/
- Discord: / discord
Chapters
00:00 Introduction
00:38 Setting Up Your Repository
02:40 Pointing Obsidian at Your Repository
06:28 Automatically saving changes
07:45 Limitations and Wrap Up
Courses
SkillShare
- SkillShare TickTick Course: skl.sh/2ExpXVv
- SkillShare Timeblocking Course: skl.sh/38MQzz8
- SkillShare Zettelkasten Course: skl.sh/3rntNDW
- Getting Started with Obsidian Course: skl.sh/2Y6DUDM
- Building the Practice of Productivity: skl.sh/3oaxLj7
My Gear
- My gear: curtismchale.ca/my-gear
- Patreon: / curtismchale
- Music: www.epidemicsound.com/referra...
- Streaming with: www.ecamm.com/mac/ecammlive/?... - วิทยาศาสตร์และเทคโนโลยี
Perfect solution for us - not business, but rpg-notes and wiki.
thanks for the video. the limitation section was really useful
You’re welcome
That sounds pretty perfect for me - thanks for sharing!
Aaaahhhhh, love u. Exactly the solution I was searching for
Really good explained, but as a non dev guy on a windows station I am struggling a bit. Is there a similiar explanation for that os as well?
Muchas gracias!!! Excelente video.
Thank you for this video.
i was about to do this tody and found this video. thanks a lot
You’re welcome
really helpful , thanks :)
You’re welcome.
If i add some big picture on my obsidian note , can i need to use Git LFS ?
instruction which not working on first step, nice! on 2:06 you already have to have local git directory or use not second block, but first from github, and (of course) had to have create token
Thx 4 help!
I've just started and was afraid about the sync functions being paid ones. I'm a little user of git for the moment but this is and opportunity for me to begin using it more.
Put the repo in your iCloud Files. Then it will sync to your iPhone, iPad, etc. That plus the git repo covers most bases. This would not be reasonable for sharing with a team or if you have a non-iOs mobile device though.
Would this method of syncing be useful for when I am using two separate devices (I did this using my MacBook but I want to also somehow create this sync on my windows)? What should I do?
Yes it would be. We use it in a team of people. I’m not sure about the Windows setup though as I haven’t had a windows computer for over 10 years.
Works on 2023, thanks a bunch man
You're welcome.
I love you man! This video is a lifesaver. Thanks so much
You’rewelcome.
Two questions:
1. Is it a bad idea to use iCloud and Github? I have Obsidian on all my Mac devices but want to sync some folders (not all) with my work PC (or just have completely separate vault on my work pc that I can also sync to my Mac as a new vault)
2. Can you sync just some folders and not all? how do you set it up?
When I Entered this command you said: "git push -u origin main" I encountered this error line in the terminal: "error: src refspec main does not match any
error: failed to push some refs to 'my repository link". What should I do?
Me too.
8:25 what is "working copy" in this context? i would love to know a little more about this limitation, as i am attempting to sync linux, windows, and ios. really appreciate the video.
Working Copy is an iOS/iPadOS Git client.
I get this when trying to search for the folder: zsh: command not found: Obsidian-git-sync
If you want to use another device (like MacOs to windows, or vice-versa) you have to get a pull from the repository using this device, also you have to install the same requirements ?
Yes
i am getting the error "fatal: not a git repository (or any of the parent directories): .git" after entering the first existing repository command
1. Initialize a new git repository
2. Make a new file (any file)
3. Stage the changes
4. Commit
Thank you!
You’re welcome.
Would you be able to set this up for me on my Mac Please?
DOes this still not work with mobile devices like android?
Thaks a lot !
You're welcome
Is the back up E2EE?
I encountered with this error line in the terminal: "fatal: not a git repository (or any of the parent directories): .git" after entering the first existing repository command. I installed git with brew and I confirmed that it's installed. Do you have any idea what causes the problem?
You would have to initialize the git repo with `git init` in that directory in terminal
How would I be able to use this to add in between my laptop and my desktop. I have the repo working with autobackups on desktop. not sure how to go about pushing the git repo into my laptop and having them sync.
Would I just do the exact same steps on both machines? or can the online repo only pull from one local
same steps both machines should work. make sure you pull before you push every time which is a setting.
I am still searching for a way to sync obsidian on my android phone.
I use Dropsync, an app for android phone.
thanks for this awesome video!
4:20 when i attempt to commit all changes, obsidian gives me an error : "cannot run git command" what should i do?
Make sure you have Git installed on the system. Otherwise, go to the forums or Discord. They’re better equipped to help you out.
@@curtisgmchale which discord
it tells me "cannot run git command" , after I open command palette and try to commit all files
Check with the support forum or Discord. It may be that you don’t have Git installed on your system?
Thank you, your vidio help me。
You are welcome
Thanks. Limitation section was nice. I realize it's not for me.
happy to help
I have an issue where im required to login to github every time I enter the push command, does someone know how to resolve that?
Is your SSH key authorized all the time? You may need to run the ssh-add command to have it fully authorized each time you restart your computer.
@@curtisgmchale thank you for your response! Unfortunately it seems not to be the problem, i tried to install an ssh key on my device but I am still required to sign in
Did all the steps, looks fine, but not sure how to set up a second device to connect to it. Repeat the steps?
Yup, repeat the steps.
Wish the was on PC xD
Does this work to sync a vault across mobile and PC as well?
I haven’t tried mobile but I don’t think it would work out of the box on Apple devices as you can’t load the Git binary/library onto the device. You’d have to use another application like Working Copy to pull the repository and then push it back after you make changes.
The sync plugin slows down my whole macbook when activated. Don't know why.
How many files are you syncing? How old/new is the MacBook?
Windows tutorial?
Your video is a mockery.
Not to say that pre-installation and configuration of Git is required.
Lots of missed steps.
4:11 is this a joke? Did you open the menu via hotkeys? How can I understand what you clicked?
Your instruction has complicated the whole process, not simplified.
You should make a video then. I’d be happy to link to it in my newsletter on PKM tools.
You look and sound so exasperated all the time. Like making this video was a massive inconvenience and it makes it really hard to watch.
So don’t watch.
@@curtisgmchale good attitude
what a dick comment. the guy went out of his way to thoroughly document something genuinely useful.