rt git
rt › git
Everyday git shortcuts
Usage
bash
rt git
Subcommands
| Command | Description |
|---|---|
rebase | Rebase onto main and auto-resolve easy conflicts |
reset | Reset your branch safely |
backup | Save a backup of this branch |
restore | Bring a branch back from a backup |
pull | Pull from origin |
push | Push this branch, fixing its upstream if needed |
upstream | Point this branch at its origin branch |
status | What's changed on this branch |
diff | Show one file's changes |
log | Recent commits on this branch |
branches | Your branches and how far ahead or behind they are |
amend | Add staged changes to the last commit |
undo | Undo the last commit, keep its changes |
stash | Set changes aside and bring them back |
tag | Create, list, delete and push tags |