Sync Your Obsidian Vault for Free with Github

Sdílet
Vložit
  • čas přidán 26. 07. 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/?...
  • Věda a technologie

Komentáře • 75

  • @Timov
    @Timov Před rokem +16

    Perfect solution for us - not business, but rpg-notes and wiki.

  • @bc4198
    @bc4198 Před rokem +2

    That sounds pretty perfect for me - thanks for sharing!

  • @goldenknowledge5914
    @goldenknowledge5914 Před 2 lety +22

    thanks for the video. the limitation section was really useful

  • @GeneralSzadek
    @GeneralSzadek Před 6 měsíci

    Aaaahhhhh, love u. Exactly the solution I was searching for

  • @thomasschmitt2904
    @thomasschmitt2904 Před rokem +1

    Thank you for this video.

  • @davidxdhloqud
    @davidxdhloqud Před 11 měsíci

    Muchas gracias!!! Excelente video.

  • @mayankk2800
    @mayankk2800 Před 2 lety +3

    i was about to do this tody and found this video. thanks a lot

  • @raoinvoker
    @raoinvoker Před 2 lety +2

    really helpful , thanks :)

  • @schajuli1991
    @schajuli1991 Před rokem +19

    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?

  • @Yhushe
    @Yhushe Před rokem

    Works on 2023, thanks a bunch man

  • @ligailluzia
    @ligailluzia Před 10 měsíci +4

    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

  • @0xl52
    @0xl52 Před 10 měsíci

    Thank you!

  • @cris7ea
    @cris7ea Před rokem +1

    I love you man! This video is a lifesaver. Thanks so much

  • @leonlee9518
    @leonlee9518 Před rokem +2

    If i add some big picture on my obsidian note , can i need to use Git LFS ?

  • @user-oz8bo1vj6r
    @user-oz8bo1vj6r Před 8 měsíci

    Thaks a lot !

  • @vazhappillyhouse2590
    @vazhappillyhouse2590 Před 6 měsíci +3

    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?

  • @sourcilavise3788
    @sourcilavise3788 Před 6 měsíci

    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.

  • @user-fg3bb1qn8x
    @user-fg3bb1qn8x Před 11 měsíci

    Thank you, your vidio help me。

  • @ameeralhashimi6076
    @ameeralhashimi6076 Před rokem +2

    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?

    • @curtisgmchale
      @curtisgmchale  Před rokem +3

      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.

  • @twadd
    @twadd Před 10 měsíci +1

    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.

  • @doctort.quinlan4101
    @doctort.quinlan4101 Před 4 měsíci

    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?

  • @Dayytimee
    @Dayytimee Před rokem +3

    i am getting the error "fatal: not a git repository (or any of the parent directories): .git" after entering the first existing repository command

    • @underview8492
      @underview8492 Před rokem +2

      1. Initialize a new git repository
      2. Make a new file (any file)
      3. Stage the changes
      4. Commit

  • @leam1978
    @leam1978 Před rokem

    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.

  • @ogatalars5835
    @ogatalars5835 Před rokem

    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 ?

  • @GurgleThaGobbo
    @GurgleThaGobbo Před rokem +1

    Wish the was on PC xD

  • @MCandMosRandomChannel
    @MCandMosRandomChannel Před 11 měsíci

    I get this when trying to search for the folder: zsh: command not found: Obsidian-git-sync

  • @placeholder3853
    @placeholder3853 Před 10 měsíci

    DOes this still not work with mobile devices like android?

  • @HmmHmm-zo9il
    @HmmHmm-zo9il Před měsícem

    Is the back up E2EE?

  • @user12345654
    @user12345654 Před 2 lety +4

    I am still searching for a way to sync obsidian on my android phone.

  • @MCandMosRandomChannel
    @MCandMosRandomChannel Před 11 měsíci

    Would you be able to set this up for me on my Mac Please?

  • @TheAlison1456
    @TheAlison1456 Před rokem

    Thanks. Limitation section was nice. I realize it's not for me.

  • @colecostanza
    @colecostanza Před rokem

    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.

    • @colecostanza
      @colecostanza Před rokem

      Would I just do the exact same steps on both machines? or can the online repo only pull from one local

    • @curtisgmchale
      @curtisgmchale  Před rokem +1

      same steps both machines should work. make sure you pull before you push every time which is a setting.

  • @samarohadutta9227
    @samarohadutta9227 Před 2 lety

    it tells me "cannot run git command" , after I open command palette and try to commit all files

    • @curtisgmchale
      @curtisgmchale  Před 2 lety

      Check with the support forum or Discord. It may be that you don’t have Git installed on your system?

  • @h4ckrun246
    @h4ckrun246 Před rokem +3

    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?

    • @odukoyajesuseyitan7417
      @odukoyajesuseyitan7417 Před rokem +13

      You would have to initialize the git repo with `git init` in that directory in terminal

  • @mali8389
    @mali8389 Před 2 lety +2

    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?

    • @curtisgmchale
      @curtisgmchale  Před 2 lety +2

      Make sure you have Git installed on the system. Otherwise, go to the forums or Discord. They’re better equipped to help you out.

    • @offline__
      @offline__ Před rokem

      @@curtisgmchale which discord

  • @keirajane-zx3ir
    @keirajane-zx3ir Před 9 hodinami

    did not work for me on Linux unfortunately

  • @zbastian
    @zbastian Před 9 měsíci

    Did all the steps, looks fine, but not sure how to set up a second device to connect to it. Repeat the steps?

  • @meissanhemma5552
    @meissanhemma5552 Před rokem

    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?

    • @curtisgmchale
      @curtisgmchale  Před rokem

      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.

    • @meissanhemma5552
      @meissanhemma5552 Před rokem

      @@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

  • @JustinDMorehead
    @JustinDMorehead Před 6 měsíci

    Does this work to sync a vault across mobile and PC as well?

    • @curtisgmchale
      @curtisgmchale  Před 6 měsíci

      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.

  • @flor.7797
    @flor.7797 Před 2 lety

    The sync plugin slows down my whole macbook when activated. Don't know why.

    • @curtisgmchale
      @curtisgmchale  Před 2 lety +1

      How many files are you syncing? How old/new is the MacBook?

  • @EarthStarz
    @EarthStarz Před 2 měsíci

    Windows tutorial?

  • @luckylucker417
    @luckylucker417 Před 10 měsíci

    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.

    • @curtisgmchale
      @curtisgmchale  Před 10 měsíci

      You should make a video then. I’d be happy to link to it in my newsletter on PKM tools.

  • @Amplefii
    @Amplefii Před 2 lety +1

    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.

    • @curtisgmchale
      @curtisgmchale  Před rokem +18

      So don’t watch.

    • @Amplefii
      @Amplefii Před rokem +1

      @@curtisgmchale good attitude

    • @leam1978
      @leam1978 Před rokem +1

      what a dick comment. the guy went out of his way to thoroughly document something genuinely useful.