- Download the official Git for Windows installer from the Git website; and
- Run the installer and follow the prompts to install Git.
- If you have installed Xcode (or its Command Line Tools), Git may already be installed. You can check by opening Terminal and typing
git --version
; - If Git is not installed, you can install it using Homebrew. First, install Homebrew by following the instructions on the Homebrew website. Then, install Git by typing: brew
install git
.
- Open a terminal;
- Install Git using your distribution's package manager. For example, on Ubuntu or Debian, you would type
sudo apt install git
.
- Open a terminal;
- Navigate to the directory where you want to create the repository; and
- Type
git init
to initialize a new Git repository.
You can find more detailed instructions in the Git Documentation or GitHub's Help Pages.
- Open a terminal;
- Navigate to the directory where you want to clone the repository;
- Type
git clone [url]
, replacing[url]
with the URL of the Git repository you want to clone.
You can find more detailed instructions in the Git Documentation or GitHub's Help Pages.
After you have installed Git and initialized or cloned a Git repository for your Obsidian vault, you can use YAOS to sync your vault with the repository. Simply press the "Sync" button in Obsidian to sync your vault. If there are conflicts between your local vault and the remote repository, YAOS will prompt you to resolve these conflicts.