Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ git --version
- git version 2.20.1 (Apple Git-117)
- $ git diff-index --quiet HEAD ; echo $?
- 1
- $ git status > /dev/null
- $ git diff-index --quiet HEAD ; echo $?
- 0
- $ git diff-index --quiet HEAD ; echo $?
- 0
- # At this point, `git status` was invoked outside the docker image
- $ git --version
- git version 2.20.1
- $ git diff-index --quiet HEAD ; echo $?
- 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement