"Don't be overwhelmed by learning Git! π It's simpler than you might think. Here's a condensed list of essential Git commands and concepts to get you started:
-
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
-
Branching:
- git branch
- git checkout -b
- git merge
- git rebase
- git branch --set-upstream-to
- git branch --unset-upstream
- git cherry-pick
-
Merging:
- git merge
- git rebase
-
Stashing:
- git stash
- git stash pop
- git stash list
- git stash apply
- git stash drop
-
Remotes:
- git remote
- git remote add
- git remote remove
- git fetch
- git pull
- git push
- git clone --mirror
-
Configuration:
- git config
- git global config
- git reset config
-
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
-
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
-
Alias:
- git config --global alias.
-
Hook:
- git config --local core.hooksPath
For faster learning, check out these resources:
- Git Official Documentation: git-scm.com/doc
- GitHub Learning Lab: https://lnkd.in/dfQY6Jtp
- Codecademy Course: https://lnkd.in/dwG5_C6q
- Pro Git by Scott Chacon [Book]: git-scm.com/book/en/v2
- YouTube:
- FreeCodeCampOrg for beginners: rb.gy/ljxt5s
- FreeCodeCampOrg for intermediate learners: rb.gy/1x6mc
Git #VersionControl #LearningGit
Feel free to connect with me on LinkedIn: https://www.linkedin.com/in/farhakousar16
And check out my GitHub profile and star my repositories: https://github.com/FarhaKousar1601
If you have anything to add or any questions, don't hesitate to ask! ππ±"
Top comments (3)
Thanks
Thanksβ€
Thank you