fix(bash): tell if not up to date
This commit is contained in:
parent
feb15c57a9
commit
1b051c8266
1 changed files with 2 additions and 1 deletions
|
@ -3,7 +3,8 @@
|
|||
cd ~/.nix || exit 1
|
||||
git fetch --all > /dev/null
|
||||
GIT=$(git -c color.status=always status |
|
||||
grep -v -e branch \
|
||||
grep -v -e "On branch" \
|
||||
-e "up to date" \
|
||||
-e 'use "git' \
|
||||
-e "nothing to commit" |
|
||||
sed '/^$/d')
|
||||
|
|
Loading…
Reference in a new issue