← Cheat Sheets

Everyday Git Commands

The Git commands you reach for daily.

# Everyday Git Commands

```
git status                # what changed
git add -p                # stage selectively
git commit -m "msg"       # commit
git switch -c feature      # new branch
git pull --rebase          # update, keep history linear
git log --oneline -10      # recent commits
git restore --staged file  # unstage
git stash / git stash pop  # shelve work
```