feat(aliases): Modification des aliases pour git
This commit is contained in:
parent
5aad94e71b
commit
d4c31d32d9
@ -1,29 +1,29 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Git
|
||||
if [ -x /usr/bin/git ]
|
||||
then
|
||||
alias gs='git status'
|
||||
alias ga='git add'
|
||||
alias gc='git commit'
|
||||
alias gca='git commit -a'
|
||||
alias gu='git pull'
|
||||
alias gp='git pull && git push'
|
||||
alias gd='git diff'
|
||||
alias gdc='git diff --cached'
|
||||
alias gb='git branch'
|
||||
alias gco='git checkout'
|
||||
alias gw='git whatchanged'
|
||||
alias gl='git log --graph'
|
||||
if [ -x /usr/bin/git ]; then
|
||||
alias gs='git status'
|
||||
alias ga='git add'
|
||||
alias gc='git commit'
|
||||
alias gca='git commit -a'
|
||||
alias gf='git fetch'
|
||||
alias gu='git pull'
|
||||
alias gp='git pull && git push'
|
||||
alias gd='git diff'
|
||||
alias gdc='git diff --cached'
|
||||
alias gb='git branch'
|
||||
alias gco='git checkout'
|
||||
alias gw='git whatchanged'
|
||||
alias gl='git log --graph'
|
||||
|
||||
alias gstatus='git status'
|
||||
alias glog='git log'
|
||||
alias glast='git last'
|
||||
alias gshow='git show'
|
||||
alias gdiff='git diff'
|
||||
alias gcommit='git commit'
|
||||
alias gcommitall='git commit --all'
|
||||
alias greset='git reset'
|
||||
alias gpull='git pull'
|
||||
alias gpush='git pull && git push'
|
||||
alias gstatus='git status'
|
||||
alias glog='git log'
|
||||
alias glast='git last'
|
||||
alias gshow='git show'
|
||||
alias gdiff='git diff'
|
||||
alias gcommit='git commit'
|
||||
alias gcommitall='git commit --all'
|
||||
alias greset='git reset'
|
||||
alias gpull='git pull'
|
||||
alias gpush='git pull && git push'
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user