mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-13 03:01:32 +01:00
Merge 3a8912529b into b6f4a887ac
This commit is contained in:
commit
8aa7ae9fdc
5 changed files with 50 additions and 3 deletions
|
|
@ -101,6 +101,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