保存密码

  1. vi ~/.gitconfig
  1. [credential]
  2. helper = store

忽略权限变更

  1. git config --global core.fileMode false

提交失败

error: RPC failed; curl 92 HTTP/2 stream 0 was not closed cleanly: PROTOCOL_ERROR (err 1)

  1. git config --global http.version HTTP/1.1


分支操作

  1. git switch -c develop origin/develop