随笔分类 - git
摘要:git通过命令可以配置本地用户名和邮箱 git config user.name 用户名 git config user.email 邮箱 查看本地用户名和邮箱 git config user.name git config user.email 修改已经push到远程的用户名和邮箱 #!/bin/
阅读全文
摘要:失误操作把错误的或者不完整的代码commit并且push到了远程。 可能会影响到远程上代码的正确性。 git提供了撤回远程代码的方法。 $ git log commit 8622aca4a579bbb65c7255ae797622b4c33187a7 (HEAD -> master, origin/
阅读全文

浙公网安备 33010602011771号