-
Notifications
You must be signed in to change notification settings - Fork 0
/
.bash_aliases
37 lines (37 loc) · 1.17 KB
/
.bash_aliases
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
alias gb='git branch'
alias gbl='git branch -l' #list local
alias gbr='git branch -r'
alias gba='git branch -a' #list all, includes remotes
alias gbd='git branch -d' #delete
alias gbs='git branch --sort=-committerdate'
alias gcl='git clone'
alias gclr='git clone --recursive'
alias gsa='git submodule add'
alias gsi='git submodule init'
alias gsu='git submodule update'
alias gsu2m='git submodule foreach git pull origin master'
alias gsuir='git submodule update --init --recursive'
alias gs='git status'
alias ga='git add'
alias gc='git commit -m'
alias gcall='git commit -am'
alias gcam='git commit --amend'
alias gcamx='git commit --amend --no-edit'
alias gpl='git pull'
alias gps='git push'
alias gco='git checkout'
alias gcom='git checkout master'
alias gcob='git checkout -b'
alias gl='git log'
alias gd='git diff | mate'
alias glp='git log --pretty=format:"%h %s" --graph'
alias glfsi='git lfs install'
alias glfsl='git lfs ls-files'
alias grm='git rebase master'
alias grt='git rebase -Xtheirs'
alias grtm='git rebase -Xtheirs master'
alias gremv='git remote -v'
alias gmt='git merge -Xtheirs'
alias grc='git rebase --continue'
alias gra='git rebase --abort'
alias gclean='git clean -dfx'