- GitHub account - GitHub access to a Massive Wiki GitHub repository - Install GitHub Desktop App from https://desktop.github.com
Install Obsidian from https://obsidian.md
Install the Obsidian-Git plugin
Enabling Obsidian-Git brings up a message requiring installation of command line developer tools. Select "Install ".
Connect Obsidian to a Massive Wiki repository
Open GitHub Desktop and login.
Open Obsidian and open another vault using the cloned repository directory as the new vault folder.
Set up GitHub Personal Access Token credentials to allow saving new and edited wiki files to the GitHub repository.
Using a GitHub Personal Access Token to resolve the
fatal: could not read username for 'https://github.com'
error when first pushing changes to GitHub.
How to do that
The final steps involve adding information to the .gitconfig file and creating a .git-credentials file to hold the personal access token just generated.
.gitconfig
.git-credentials
$ cd $ ls .gitconfig
will print the file name ".gitconfig" if it exists.
Second, use git commands to set up using the personal access key (this command says credentials are stored in a local file named ".git-credentials").
$ git config --global credential.helper store
Third, create the credential file to hold the personal access key. Copy the personal access key generated in GitHub to the clipboard (if you did not do that above) Now, type the following in the terminal window replacing "YourGitHubUserName" with your actual GitHub user name:
$ echo "https://YourGitHubUserName:$(pbpaste)@github.com" > .git-credentials