added rest of git aliases from powershell profile

This commit is contained in:
yuriy 2023-11-22 00:54:20 -05:00
parent 7b5fda5b84
commit aa8abfc6e8

11
.bashrc
View File

@ -416,14 +416,21 @@ export PATH="$HOME/.local/bin:$PATH"
# Git Aliases
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 pull="git pull"
alias gpp="git pull"
alias gl="git log"
alias glo="git log --oneline"
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
################################################################################