Basic Git Commands Every Developer Should Know
git init
git clone <repository_url>
git status
git add <file>
git add .
git commit -m "commit message"
Advanced Git Commands for Efficient Workflow
git branch
git branch <branch_name>
git checkout <branch_name>
git merge <branch_name>
git remote -v
git pull origin <branch_name>
git push origin <branch_name>
Git Log and History Commands
git log
git log --oneline
Git Undo and Reset Commands
git revert <commit>
git reset <commit>
If you're still reading, make sure you like this post ๐๐ผ
Git Tagging Commands
git tag
git tag -a <tag_name> -m "tag message"
Git Configuration Commands
git config --global user.name "Your Name"
git config --global user.email "[email protected]"
Did I miss any git command? Add it in the comment section.
Follow for more content like this.
Be the first to show love! ๐
Start something amazing - your support inspires creators!