mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-13 03:01:32 +01:00
n3tpunk edit
This commit is contained in:
commit
532b6a867a
2 changed files with 34 additions and 0 deletions
|
|
@ -97,6 +97,13 @@ compdef git-svn-dcommit-push=git
|
|||
|
||||
alias gsr='git svn rebase'
|
||||
alias gsd='git svn dcommit'
|
||||
|
||||
function in_git {
|
||||
if $(git status > /dev/null 2>&1); then
|
||||
echo 1
|
||||
fi
|
||||
}
|
||||
|
||||
#
|
||||
# Will return the current branch name
|
||||
# Usage example: git pull origin $(current_branch)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue