Advertisement
Guest User

Untitled

a guest
Jun 20th, 2019
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. $ git --version
  2. git version 2.20.1 (Apple Git-117)
  3. $ git diff-index --quiet HEAD ; echo $?
  4. 1
  5. $ git status > /dev/null
  6. $ git diff-index --quiet HEAD ; echo $?
  7. 0
  8.  
  9. $ git diff-index --quiet HEAD ; echo $?
  10. 0
  11. # At this point, `git status` was invoked outside the docker image
  12. $ git --version
  13. git version 2.20.1
  14. $ git diff-index --quiet HEAD ; echo $?
  15. 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement