<span>Git/GitHub使用汇总</span>

Git

Git删除分支/恢复分支 :https://www.cnblogs.com/utank/p/7880441.html

重点:Git会自行负责分支的管理,所以当我们删除一个分支时,Git只是删除了指向相关提交的指针,但该提交对象依然会留在版本库中。

Git修改本地用户,参考https://www.jianshu.com/p/3ad0512d1306
//查看用户名
git config user.name
//查看邮箱地址
git config user.email
//修改用户名,xxx 处填写你的用户名
git config --global user.name "xxx"
//修改邮箱地址,xxx 处填写你的邮箱地址
git config --global user.email "xxx"


GitHub

GitHub中fork的使用:https://www.cnblogs.com/patchouli/p/6511251.html
全部评论

相关推荐

点赞 评论 收藏
转发
点赞 收藏 评论
分享
牛客网
牛客企业服务