Information worth remembering

User Tools

Site Tools


git

Git Notes

Important commands

  1. git –version - this will return the version of git in your computer
  2. git config –global user.name “the user's name” - will set the name of the user on git
  3. git config –global user.email “the user's email address” - will set the email address of the user on git
  4. git remote -v - will tell you where git is pulling and pushing things to
  5. git remote set-url origin <github repository url> - points git to another repository to push and pull
  6. git push origin master - will push current local origin to github master.
git.txt · Last modified: 2020/09/22 13:41 by admin