rt git
rt › git
Git operations (status, diff, log, rebase, commit, stash, tags)
Usage
rt git
Subcommands
| Command | Description |
|---|---|
rebase | Smart rebase onto origin/master with auto-resolve |
reset | Safe reset with divergence detection |
commit | Interactive staged/unstaged commit picker |
backup | Back up the current branch |
restore | Restore from a backup branch |
pull | Pull from origin (mirror of GitHub Desktop's Pull button) |
push | Push current branch to origin/<branch>, fixing wrong upstream |
upstream | Fix branch upstream to track origin/<branch> |
status | Working tree status: branch, ahead/behind, changed files |
diff | One file's diff (hunks and lines) from git-core |
log | Recent commits on the current branch |
branches | Local branches with upstream and ahead/behind state |
amend | Amend the last commit with what is staged (message optional) |
undo | Undo the last commit, keeping its changes in the working tree |
stash | Stash the working tree and manage stashes |
tag | Create, list, delete, and push tags |