![]() ![]() You should see this:Ĭlick the “Sign In” button, and either create an account or log in with an existing account. The Github Desktop app makes this particularly straightforward.įind the button that says “Publish repository” (top right of the screen), and click it. Now that you have a local repository, you can send it to Github. We’ll walk through a commit in a minute, but first let’s get your Vault stored in Github. This is the backbone of git, and how you’re able to store and see the entire history of your files. If you click on one of the file names, the changes will show up on the right.Įvery time you make a change to your git repository, you have to commit to that change with a commit. In the middle are all of the file changes (your list will be much longer, probably). On the left side of the screen, we can see the commit message, which says “Initial commit”. ![]() If you go to the History tab, you can even see your first commit: When we created a repository using Github Desktop, the app automatically created your first commit. One more definition for you: a commit is a snapshot of a moment in time. Github Desktop will then automatically commit all of your current files, creating your first “commit”. This won’t actually create a new folder, as long as you use the exact name of your existing folder. That should look like this:įor example, if your Vault is named MyVault inside your “Documents” folder, select “Documents” and type “MyVault”. Then type the exact name of your vault inside the “Name” field. You’ll want to select “New Repository” from the File menu, and select the parent folder for your vault. If you’re using Github Desktop, this is a bit unintuitive. In this case, you’ll want to create a git repository out of your Obsidian Vault. You can create a git repository out of any folder on your computer. Step 2: Create a local repositoryĪ git repository is a folder controlled by git. We’ll use Github Desktop for this tutorial, but the steps are similar no matter what app you use. If you want something fully cross platform, Sublime Merge is a lightweight and fast option (but not free). Github Desktop is popular on Windows and Mac. If you’ve never used git before, the easiest way is to use an app. If Github still sounds like a good option to you, then let’s get started: Step 1: Download an app But it’s a great platform for all but the most sensitive information: it’s free, fast, and easy to use. If you’re worried about privacy, there are better options out there than Github. Microsoft owns Github, so even if you use a private repository, there’s no guarantee that they won’t data-mine your data. If you haven’t used git or Github before, there is a bit of a learning curve.There are two main downsides to backing up your Obsidian vault on Github: Even though Github is a software company, they still offer their services for free for most people, which is one reason why backing up your obsidian vault on Github can be such a good way to go. Github is a website that helps you use git. git is free software that you can run on any computer. Github: a platform for hosting git repositories, with some social media-like features.git repository: A folder of text files that uses git to keep track of its history.git: A free and open source version control system.version control system: A software package that keeps a history of changes to any set of text files. ![]() ![]() If you’re new to git, Github, or version control in general, here are a few important definitions: Here’s one way to get this set up that should be straightforward for beginners and experts alike. However if you’re new to git or Github, the process can be a bit intimidating. There are many more options when it comes to backing up Obsidian, but Git is one of my favorites, because it has saved my notes many times. Github offers both public and private repositories for free, so it’s a good option if you want free backups for your Second Brain. Backing up your obsidian vault on Github is a great way to keep and maintain ongoing backups of your Obsidian Vault. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |