Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

`git fetch` and `git push` talk to the remote(s) (if any) that you have configured. Most (all?) other commands are local operations. `git status` compares your working copy to your local `.git/` database.

If you want `git status` to compare `.git/` with the state of a remote, you must first `git fetch` the state of a remote into your local `.git/`. And you may have multiple remotes, as well...



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: