added rest of git aliases from powershell profile
This commit is contained in:
parent
7b5fda5b84
commit
aa8abfc6e8
11
.bashrc
11
.bashrc
@ -416,14 +416,21 @@ export PATH="$HOME/.local/bin:$PATH"
|
|||||||
|
|
||||||
# Git Aliases
|
# Git Aliases
|
||||||
alias gac="git add .;git commit -m"
|
alias gac="git add .;git commit -m"
|
||||||
alias gacc="git add . ; git commit -m '${1}' ; git push"
|
alias gacc='f() { git add . ; git commit -m "$@" ; git push; }; f'
|
||||||
alias gpm="git push origin master"
|
alias gpm="git push origin master"
|
||||||
alias pull="git pull"
|
alias pull="git pull"
|
||||||
alias gpp="git pull"
|
alias gpp="git pull"
|
||||||
alias gl="git log"
|
alias gl="git log"
|
||||||
alias glo="git log --oneline"
|
alias glo="git log --oneline"
|
||||||
alias gch="git checkout ${1}"
|
alias gch="git checkout ${1}"
|
||||||
|
alias gb="git branch ${1}"
|
||||||
|
alias gs="git status"
|
||||||
|
alias gss="git status"
|
||||||
|
alias gdd="git diff"
|
||||||
|
alias gdf="git diff"
|
||||||
|
alias gsi="git submodule init"
|
||||||
|
alias gsu="git submodule update --recursive --remote"
|
||||||
|
alias gr="touch README.md ;nano README.md" # choco install nano -y
|
||||||
|
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
|
Loading…
Reference in New Issue
Block a user