-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtigrc
67 lines (54 loc) · 2.45 KB
/
tigrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# see http://jonas.nitro.dk/tig/manual.html for variables
set rev-args = --all
set main-view-id-display = yes
bind status + !git commit --amend
bind status P !git push -u origin %(repo:head)
bind status Y !git stash push -m "%(prompt message: )"
bind status B none
bind status Bc !git rebase --continue
bind status Ba !git rebase --abort
#bind main B !git rebase -i %(commit)
bind main B none
bind main Bo !git rebase --onto "%(prompt Enter branch name: )" %(commit)
bind main Bi !git rebase -i %(commit)
bind main Bb !git rebase %(branch)
bind main Br !git rebase %(remote)/%(branch)
bind main F !git fetch -p origin
bind main T none
bind main Ta !git tag -a "%(prompt Enter tag name: )" %(commit)
bind main Tl !git tag "%(prompt Enter tag name: )" %(commit)
bind main b none
bind main bn @git branch "%(prompt Enter branch name: )" %(commit)
bind main bc @git checkout -b "%(prompt Checkout at new branch: )" %(commit)
bind main bd @git branch -d %(branch)
bind main bD ?git branch -D %(branch)
#bind main brd ?git branch -rd %(remote)/%(branch)
bind main brd ?git push %(remote) --delete %(branch)
bind main bm @git branch -m %(branch) "%(prompt New branch name: )"
#bind main W !@git checkout -b "%(prompt Enter branch name: )" %(commit)
bind main T none
bind main Ta !git tag -a "%(prompt Enter tag name: )" %(commit)
bind main Tl !git tag "%(prompt Enter tag name: )" %(commit)
bind main Td ?@git tag -d %(tag)
bind refs b none
bind refs bn @git branch "%(prompt Enter branch name: )" %(commit)
bind refs bc @git checkout -b "%(prompt Checkout at new branch: )" %(commit)
bind refs bd @git branch -d %(branch)
bind refs bD ?git branch -D %(branch)
#bind refs brd ?git branch -rd %(remote)/%(branch)
bind refs brd ?git push %(remote) --delete %(branch)
bind refs bm @git branch -m %(branch) "%(prompt New branch name: )"
#bind refs W !@git checkout -b "%(prompt Enter branch name: )" %(commit)
#bind refs ! !git branch -d %(branch)
#bind refs Z !git push origin --delete %(branch)
bind refs P !git push -u origin %(branch) %(tag)
bind refs T none
bind refs Ta !git tag -a "%(prompt Enter tag name: )" %(commit)
bind refs Tl !git tag "%(prompt Enter tag name: )" %(commit)
bind refs Td ?@git tag -d %(tag)
#bind refs E !@git tag -d %(tag)
#bind refs T !git tag -a "%(prompt Enter tag name: )" %(commit)
#bind refs L !git tag "%(prompt Enter tag name: )" %(commit)
bind refs M !git merge %(branch)
bind refs > !git merge --ff-only %(commit)
bind refs <LessThan> !git merge --no-ff %(branch)