Skip to content

Latest commit

 

History

History
25 lines (15 loc) · 609 Bytes

README.md

File metadata and controls

25 lines (15 loc) · 609 Bytes

Git Commands Sheet

  1. git config --global user.name "your-user-name"

  2. git config --global user.email "your-email"

  3. git config --global --list

  4. git init

  5. git status

  6. git add .

  7. git commit -m "your-commit-message"

  8. git push -u "git-repo-URL" main

  9. git push -u origin main (if origin was set previously use this, otherwise use command #8)

  10. git pull "git-repo-URL" main

Resources:

  1. https://blog.scottlowe.org/2015/01/27/using-fork-branch-git-workflow/
  2. https://www.youtube.com/playlist?list=PL4cUxeGkcC9goXbgTDQ0n_4TBzOO0ocPR
  3. https://www.youtube.com/watch?v=KMOmw19ZCGs