-
Notifications
You must be signed in to change notification settings - Fork 0
/
aliases.local
50 lines (37 loc) · 1.2 KB
/
aliases.local
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
alias be='bundle exec'
#Git aliases in alphabetical order
alias ga='git add'
alias gaa='git add --all'
alias gb='git branch'
alias gba='git branch -a'
alias gbda='git branch --merged | command grep -vE "^(\*|\s*master\s*$)" | command xargs -n 1 git branch -d'
alias gbnm='git branch --no-merged'
alias gbr='git branch --remote'
alias gc='git commit -v'
alias gc!='git commit -v --amend'
alias gca='git commit -v -a'
alias gca!='git commit -v -a --amend'
alias gcb='git checkout -b'
alias gclean='git clean -fd'
alias gpristine='git reset --hard && git clean -dfx'
alias gco='git checkout'
alias gcp='git cherry-pick'
alias gd='git diff'
alias gf='git fetch'
alias gfo='git fetch origin'
alias glast='git log -1'
alias gmn='git merge --no-commit -'
alias ggpush='git push origin $(current_branch)'
alias glum='git pull upstream master'
alias gpr='git pull --rebase'
alias grba='git rebase --abort'
alias grbc='git rebase --continue'
alias grbi='git rebase -i'
alias grhh='git reset HEAD~1'
alias grh='git reset HEAD'
alias gst='git status'
alias gsta='git stash'
alias gstp='git stash pop'
alias gstu='git stash save -u'
alias gwip='git add -A && git commit -m "WIP"'
alias killrails='kill -9 $(lsof -i tcp:3000 -t)'