Git commands
Git commands
Git cheat sheet tailored for Software Development Engineer in Test (SDET) perspective.
Git is a widely used version control system that helps you manage and track changes in your
codebase. This cheat sheet covers basic Git commands and concepts that are useful for SDET
tasks:
Basic Commands:
1. Clone a Repository:
git status
3. Stage Changes:
4. Commit Changes:
8. Switch Branches:
9. Merge Branches:
git remote -v
git log
Undoing Changes:
Advanced Topics:
1. Rebase Interactive Mode (Combine, Edit, Reorder Commits):
3. Stash Changes:
git stash
git stash pop
you can explore more advanced commands and strategies. It's also
recommended to refer to the official Git documentation for a comprehensive
understanding: https://git-scm.com/docs