On Mac, for a new or existing Vault, I would do the following: So, yes, I’m not smart enough to translate all this back to a non-terminal using guide, sorry about that. I would just use git init when I’m in the Vault in the terminal. This is a nice way to avoid the Terminal, but it makes me lose track of what’s going on. There is a step about viewing hidden files, but I don’t know if that’s really a prerequisite? On Mac, I always hide and show files by changing the true and false in the following Terminal command (which I have aliased):ĭefaults write AppleShowAllFiles -bool true & killall Finder (There is also this guide specific to Github Desktop, but I think that will authenticate GhDesktop and not Git Obsidian.) I myself use SSH keys, see this guide by Github, which can be a bit advanced, and uses the Terminal again. There is this step that says git config -global credential.helper wincred, and that will probaby not work for Mac. This is a nice program for beginners with Git, and there is a Mac version too, so while you can skip the installation of Git itself, this Github Desktop program is still a nice one to have. Under the software installation step there is also a link to install Github desktop. If you don’t, everyone can read your Vault on the Github site. If you want your Vault to be private, create a private repo on Github. Github is a nice service though, I use it too. You can use other hubs (like Gitlab) or none at all. As the name suggests: Github is a hub for those who use Git. You don’t actually need an account on Github to use Git. You will see something like the screenshot with the black background in the guide: $ git You can confirm this by opening the application called ‘Terminal’ and type the word git, followed by an enter. With that in mind, you can just follow the linked guide and skip the software installation step. Other options are Homebrew, like I mentioned, or see this page for more installation options. ![]() You can also run xcode-select -install to install them. If you follow the steps I describe next, it might say something about installing the XCode Command Line Developer Tools. → It turns out that macOS does not come with Git preinstalled. I have installed a newer version through Homebrew, but I think the preinstalled version works just fine for most users who want to use the Obsidian Git plugin. To my knowledge, macOS comes with Git preinstalled.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |