sarpay
6/27/2018 - 3:13 PM

Git Setup On Local Machine

  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.