随笔分类 - git
摘要:git练习网站 git菜鸟教程 本地 HEAD 当前分支的最新提交 分离HEAD:git switch 节点哈希值 :让head指向了某个具体的提交记录而不是分支名 查看分支状态 git status -s --short 简洁模式 Untracked files not staged to be
阅读全文
摘要:登录要使用账户名和TOKEN! 重置登录 git config --system --unset credential.helper
阅读全文
摘要:1. gnutls_handshake() failed: The TLS connection was non-properly terminated. 重置代理 完美解决 git config --global --unset https.https://github.com.proxy git
阅读全文
摘要:ref ref2 commit节点回退 git reset --soft HEAD~1 回退一个commit节点并保存编辑器内容 git reset --hard HEAD~1 撤销第一次提交并彻底删除相关更改 如果此时commit是initial commit,会报错 fatal: ambiguo
阅读全文