🌿

Git Reference

Distributed version control system for tracking changes in source code. Essential syntax and code samples for professional development.

Config User

git config --global user.name "Your Name"

Undo Last

git reset --soft HEAD~1

Stash Items

git stash save "temp" git stash pop

Log Search

git log --grep="feature-X"

Branching

git checkout -b new-branch git merge main

Remote Clean

git remote prune origin