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