- cancal add before commit
git reset .
- Store http usname and password
git config --global credential.helper cache
git config --global credential.helper store
- set http proxy
git config global http.proxy http://user:pwd@proxy_addr:port
git reset .
git config --global credential.helper cache
git config --global credential.helper store
git config global http.proxy http://user:pwd@proxy_addr:port