3 ms·
I don’t think it is true that git status does any remote repo access. It doesn’t match the functionality of git and git status, as git status shows the differen
by beng-nl 2y ago
I don’t think it is true that git status does any remote repo access. It doesn’t match the functionality of git and git status, as git status shows the difference between the working copy and the current commit - all of which is local information. From the man page:
Displays paths that have differences between the index file and the current HEAD commit, paths that have differences between the working tree and the index file, and paths in the working tree that are not tracked by Git (and are not ignored by gitignore[5]).
Different story if the FS is a network FS of course.
- swiftcoder 2y agoYes, my memory may be inexact as to the specifics. I'd hazard a guess the prompt ran a git fetch first so that status accurately reflected the state of the remote (rather than just the state of the local tracking branch)