dev-resources.site
for different kinds of informations.
Git cheatsheet
Published at
10/30/2023
Categories
github
git
githubhack23
Author
Farha kousar
"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! 😊🌱"
Articles
11 articles in total
Introducing Delicious Den FoodieBot
read article
🎉 Celebrating 1 Year on Daily.Dev and Becoming a "Trusted" User! 🚀
read article
🚀 Exciting Open-Source Opportunities in 2024! 🌐
read article
Analyzing VTU Study Marks with Python: A Self-Motivation Tool
read article
Embarking on a Coding Odyssey: My MLH Global Hack Week Experience
read article
Unlock the World of Python with Free Ebooks: Python_EBook_Free
read article
Git cheatsheet
currently reading
🚀 My Journey in Hacktoberfest 2023
read article
difference between AI engineer and ML engineer
read article
MIT APP INVENTOR
read article
Tinder cad
read article
Featured ones: