-
Notifications
You must be signed in to change notification settings - Fork 0
/
aliases
30 lines (28 loc) · 794 Bytes
/
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
# General Aliases
alias ls='ls -G'
alias lsa='ls -a -G'
alias lsl='ls -l -G'
alias lsal='ls -a -l -G'
alias lsla='ls -a -l -G'
# git aliases
alias g='git'
alias gst='git status'
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 gcmsg='git commit -v -m'
alias gco='git checkout'
alias gcom='git checkout master'
alias gb='git branch'
alias ga='git add'
alias gm='git merge'
alias gmv='git mv'
alias grh='git reset HEAD'
alias grhh='git reset HEAD --hard'
alias grm='git rm'
alias ggpull='git pull origin $(git_current_branch)'
alias ggpush='git push origin $(git_current_branch)'
alias ghpush='git push github $(git_current_branch)'
# Include custom aliases
[[ -f ~/.aliases.local ]] && source ~/.aliases.local