美文网首页
Git报错收集

Git报错收集

作者: gezhenrong | 来源:发表于2020-06-21 22:59 被阅读0次

Git报错收集

error: RPC failed; HTTP 504 curl 22 The requested URL returned error: 504 Gateway Time-out

fatal: The remote end hung up unexpectedly

解决办法,只需要加上--depath=1:

git clone --depth=1 https://git.oschina.net/xxxxxx.git 

remote: Coding 提示: Authentication failed

$ git config --global user.name " "  //--global全局设置   注意
$ git config --global user.email 

mac下 zsh: command not found: rvm

zsh: command not found: rvm-prompt

1
解决方案就是

vim ~/.zshrc
2

在最后一行加入:

[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm"

3,最后

source ~/.zshrc

Git 命令

  • 暂存
git stash

取消暂存

git stash

Git回撤 取消commit

git reset --soft HEAD^

相关文章

网友评论

      本文标题:Git报错收集

      本文链接:https://www.haomeiwen.com/subject/yaizxktx.html