The config I use for tig
Command | Description |
---|---|
D | Delete untracked file |
! | Reset unstaged file |
C | Commit all staged files |
1 | Stage one line |
u | Stage file or stage one chunk |
+ | Amend to previous commit |
P | Push |
I | Put file in gitignore |
S | Stash unstaged files |
Command | Description |
---|---|
H | Open commit on github.com |
B | Open commit on bitbucket.org |
- Press
r
to go therefs
view - Press
C
to checkout branch - Press
enter
to confirm
- Press
r
to go therefs
view - Press
n
to create branch - Enter branch name and press
enter
- Press
r
to go therefs
view - Press
!
to delete branch - Press
y
andenter
to confirm
- Press
y
to go to thestash
view - Press
P
to pop stash - Press
enter
- Press
y
to go to thestash
view - Press
!
to drop stash - Press
y
andenter
to confirm