Skip to content

Commit

Permalink
Merge pull request ohmyzsh#2208 from onemouth/master
Browse files Browse the repository at this point in the history
Update git.plugin.zsh
  • Loading branch information
robbyrussell committed Dec 3, 2013
2 parents 032ca0d + c81e42f commit 4e34588
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions plugins/git/git.plugin.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -149,3 +149,12 @@ function work_in_progress() {
# these alias commit and uncomit wip branches
alias gwip='git add -A; git ls-files --deleted -z | xargs -0 git rm; git commit -m "wip"'
alias gunwip='git log -n 1 | grep -q -c wip && git reset HEAD~1'

# these alias ignore changes to file
alias gignore='git update-index --assume-unchanged'
alias gunignore='git update-index --no-assume-unchanged'
# list temporarily ignored files
alias gignored='git ls-files -v | grep "^[[:lower:]]"'



0 comments on commit 4e34588

Please sign in to comment.