新设备上使用 git

   最近换了一个新的电脑,在新电脑中提交代码什么的肯定提交不上去,在这总结一下,万一下次又换新电脑了呢,哈哈,话不多说,开始: 1、首先需要我在git重新设置一下身份的名字和邮箱 命令: git config --global user.name "yourname" git config --global user.email“[email protected]" (就是下图红色的地方)  2
相关文章
相关标签/搜索