mirror of
https://github.com/owenlejeune/zsh-plugins.git
synced 2025-11-19 05:50:52 -05:00
36 lines
864 B
Bash
Executable File
36 lines
864 B
Bash
Executable File
#alias gadd="git add"
|
|
#alias gadda="gadd -A"
|
|
#alias gstatus="git status"
|
|
#alias gdiff="git diff"
|
|
#alias glog="git log"
|
|
#alias glogg="git log --graph"
|
|
#alias glast="glog -p -1"
|
|
#alias gcheckout="git checkout"
|
|
#alias gcheckoutb="gcheckout -b"
|
|
#alias gcheckoutf="gcheckout --"
|
|
#alias gpull="git pull origin"
|
|
#alias gpullm="gpull master"
|
|
#alias grebase="git rebase"
|
|
#alias gcommit="git commit"
|
|
#alias gcommitm="git commit -m"
|
|
#alias gamend="gcommit --amend"
|
|
#alias gbranch="git branch"
|
|
#alias gbranchd="git branch -D"
|
|
#alias grnmbranch="gbranch -m"
|
|
#alias gpushb="git push origin"
|
|
#alias gundoc="git reset HEAD~"
|
|
#alias gundo="git reset HEAD~1"
|
|
#alias greset="git checkout --"
|
|
alias nb="git checkout -b"
|
|
|
|
#function gpush() {
|
|
# BRANCH=""
|
|
# if [[ $# -eq 0 ]];
|
|
# then
|
|
# BRANCH="$(git rev-parse --abbrev-ref HEAD)"
|
|
# else
|
|
# BRANCH="$1"
|
|
# fi
|
|
# git push origin $BRANCH
|
|
#}
|