-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.git_aliases
37 lines (33 loc) · 896 Bytes
/
.git_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 glog='git lola'
alias g='git'
alias gco='git checkout'
alias gpm='git pull origin master'
alias gpo='git push origin'
alias gcmp='gcm && gpo'
alias gcd='gco develop'
alias gb='git branch'
alias gba='gb -a'
alias ga='git add'
alias gai='git add -i'
alias gap='git add -p'
alias gc='git commit'
alias gcm='git commit -m Checkpoint commit.'
alias gpush='git push'
alias gpull='git pull'
alias gs='git status'
alias gd='git diff'
alias gdc='git diff --cached'
alias gg='git grep -n'
alias gds='git diff --staged'
alias gre='git checkout -- '
alias gus='git reset HEAD'
alias gll='git lol'
alias gla='git lola'
alias gpod='gpo develop'
alias gpom='gpo master'
# Git FuggedaboutIt (let's push it live)
alias gfi='git add -A && git commit -m "Checkpoint $(date)" && git push'
gk() {
(gitk > /dev/null 2>&1) &
}
alias pipfreeze='pip freeze > ~/code/madmax/pip_freeze.txt'