markdown 本地机器上的Git设置

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了markdown 本地机器上的Git设置相关的知识,希望对你有一定的参考价值。

1. Download Git Client https://git-scm.com/downloads
2. Open Git GUI > Help > Create SSH Key (Keep passphrase in mind)
3. Go to GitHub Repo of Project > Settings > Deploy Keys > Create Key (paste it there)
4. Open Git GUI > Clone Existing Repo > Enter the SSH Source URL. This starts download.
5. Open the .git/config file and change the URL to the HTTPS link of the repo instead. After cloning is done;
6. Open VS Code and the Project Folder.
7. Commit > Push > Enter Credentials > Set Auto-Fatch to False (so it won't keep asking for credentials)
8. File > Preferences > Settings > search for "git.autofetch" > set it to false.

以上是关于markdown 本地机器上的Git设置的主要内容,如果未能解决你的问题,请参考以下文章