commit to using single letter alias

This commit is contained in:
Robert Kiel
2017-05-26 08:35:05 -04:00
committed by GitHub
parent e25d5523c4
commit 3dce6a4f63

View File

@@ -1,19 +1,19 @@
alias add="git add" # alias add="git add"
alias branch="git branch" alias branch="git branch"
alias checkout="git checkout" alias checkout="git checkout"
alias commit="feature commit" # alias commit="feature commit"
alias pop="git stash pop --index" alias pop="git stash pop --index"
alias pull="git pull" alias pull="git pull"
alias push="git push" alias push="git push"
alias master="git checkout master" alias master="git checkout master"
alias develop="git checkout develop" # alias develop="git checkout develop"
alias diff="clear; git diff -w" # alias diff="clear; git diff -w"
alias linuxdiff="/usr/bin/diff" # alias linuxdiff="/usr/bin/diff"
alias sysdiff="/usr/bin/diff" # alias sysdiff="/usr/bin/diff"
#alias log="git log --graph --decorate --abbrev-commit --pretty=oneline" # alias log="git log --graph --decorate --abbrev-commit --pretty=oneline"
alias log="git log --graph --date=short --pretty=format:'%C(yellow)%h %C(white)%ad %C(black)[%C(green)%an%C(black)] %C(blue)%s%C(yellow)%d'" # alias log="git log --graph --date=short --pretty=format:'%C(yellow)%h %C(white)%ad %C(black)[%C(green)%an%C(black)] %C(blue)%s%C(yellow)%d'"
alias stash="git stash save" alias stash="git stash save"
alias status="git status; echo; echo STASH:; git stash list; echo" # alias status="git status; echo; echo STASH:; git stash list; echo"
alias a='git add' alias a='git add'
alias c='feature commit' alias c='feature commit'
@@ -22,6 +22,7 @@ alias l="git log --graph --date=short --pretty=format:'%C(yellow)%h %C(white)%ad
alias m='feature merge' alias m='feature merge'
alias r='feature rebase' alias r='feature rebase'
alias s='git status; echo; echo STASH:; git stash list; echo' alias s='git status; echo; echo STASH:; git stash list; echo'
alias x='xgrep'
alias sfind='find . -not \( -type d -name .git -prune \) -not \( -type d -name node_modes -prune \) -and \( -type f \)|sort -f' alias sfind='find . -not \( -type d -name .git -prune \) -not \( -type d -name node_modes -prune \) -and \( -type f \)|sort -f'
alias sgrep='find . -not \( -type d -name .git -prune \) -not \( -type d -name node_modes -prune \) -and \( -type f \)|sort -f|xargs grep --color=always' alias sgrep='find . -not \( -type d -name .git -prune \) -not \( -type d -name node_modes -prune \) -and \( -type f \)|sort -f|xargs grep --color=always'