Fix filtering on git status
This commit is contained in:
parent
e57d03dd99
commit
cba411e72d
1 changed files with 6 additions and 6 deletions
12
bin/get
12
bin/get
|
|
@ -108,12 +108,12 @@ ignore)
|
|||
status)
|
||||
# TODO: figure out how to git config --global color.status always automatically.
|
||||
git status \
|
||||
| grep -v '# On branch' \
|
||||
| grep -v '# (use "git push" to publish your local commits)' \
|
||||
| grep -v '# (use "git reset HEAD <file>..." to unstage)' \
|
||||
| grep -v '# (use "git add <file>..." to update what will be committed)' \
|
||||
| grep -v '# (use "git checkout -- <file>..." to discard changes in working directory)' \
|
||||
| grep -v '# (use "git add <file>..." to include in what will be committed)' \
|
||||
| grep -v 'On branch' \
|
||||
| grep -v '(use "git push" to publish your local commits)' \
|
||||
| grep -v '(use "git reset HEAD <file>..." to unstage)' \
|
||||
| grep -v '(use "git add <file>..." to update what will be committed)' \
|
||||
| grep -v '(use "git checkout -- <file>..." to discard changes in working directory)' \
|
||||
| grep -v '(use "git add <file>..." to include in what will be committed)' \
|
||||
| grep -v 'nothing added to commit but untracked files present (use "git add" to track)'
|
||||
;;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue