-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.bashrc
More file actions
40 lines (36 loc) · 860 Bytes
/
.bashrc
File metadata and controls
40 lines (36 loc) · 860 Bytes
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
set -o vi
export GIT_EDITOR=vi
##############
# GIT Section
##############
alias gst='git status'
alias gbr='git branch'
alias gd='git diff'
alias gdc='git diff --cached'
alias ga='git add'
alias gap='ga -p'
alias gco='git checkout'
alias gci='git commit -v'
alias gcim='git commit -v -m'
alias gcia='git commit -v -a'
alias gciam='git commit -v -a -m'
alias gciamN='NO_PT=1 git commit -v -a -m'
alias gcame='git commit --amend'
alias gl='git log'
alias glol='git log --pretty=oneline'
alias gup='git pull --rebase'
alias gpu='git push'
alias gpuu='git push -u origin $(git rev-parse --abbrev-ref HEAD)'
alias guppy='gup && gpu'
alias sup='git stash && gup && git stash pop'
alias suppy='git stash && gup && gpu && git stash pop'
alias gcp='git cherry-pick -x'
alias gundo='git reset HEAD^'
###
# npm
###
alias nr="npm run"
###
# pgcli
###
alias pg="pgcli"