Git Command Guide: Simplifying Version Control for Beginners

Published

Don’t stress over learning Git! It’s as simple as this. 😊

  1. Core: β€’ git init β€’ git clone β€’ git add β€’ git commit β€’ git status β€’ git diff β€’ git checkout β€’ git reset β€’ git log β€’ git show β€’ git tag β€’ git push β€’ git pull

  2. Branching: β€’ git branch β€’ git checkout -b β€’ git merge β€’ git rebase β€’ git branch β€” set-upstream-to β€’ git branch β€” unset-upstream β€’ git cherry-pick

  3. Merging: β€’ git merge β€’ git rebase

  4. Stashing: β€’ git stash β€’ git stash pop β€’ git stash list β€’ git stash apply β€’ git stash drop

  5. Remotes: β€’ git remote β€’ git remote add β€’ git remote remove β€’ git fetch β€’ git pull β€’ git push β€’ git clone β€” mirror

  6. Configuration: β€’ git config β€’ git global config β€’ git reset config

  7. Plumbing: β€’ git cat-file β€’ git checkout-index β€’ git commit-tree β€’ git diff-tree β€’ git for-each-ref β€’ git hash-object β€’ git ls-files β€’ git ls-remote β€’ git merge-tree β€’ git read-tree β€’ git rev-parse β€’ git show-branch β€’ git show-ref β€’ git symbolic-ref β€’ git tag β€” list β€’ git update-ref

  8. Porcelain: β€’ git blame β€’ git bisect β€’ git checkout β€’ git commit β€’ git diff β€’ git fetch β€’ git grep β€’ git log β€’ git merge β€’ git push β€’ git rebase β€’ git reset β€’ git show β€’ git tag

  9. Alias: β€’ git config β€” global alias.

  10. Hook: β€’ git config β€” local core.hooksPath

  • β€” β€” β€” β€” β€” β€” β€” β€” END β€” β€” β€” β€” β€” β€” β€” β€” -

Some good resources to Learn Git faster ☺️

  1. Git Official Documentation: git-scm.com/doc
  2. GitHub Learning Lab: https://lnkd.in/dfQY6Jtp
  3. Codecademy Course https://lnkd.in/dwG5_C6q
  4. Pro Git: by Scott Chacon [Book] git-scm.com/book/en/v2
  5. YouTube β€’ FreeCodeCampOrg- beginer rb.gy/ljxt5s β€’ FreeCodeCampOrg- Intermediate rb.gy/1x6mc

Originally published on Medium.

Ready to apply? Browse open roles on FzlOps Β· get daily alerts on WhatsApp above.