随笔分类 -  Git

摘要:cd到需要git的目录 初始化git仓库 git init git remote add origin git@github.com:tonglin0325/XXX.git 新建分支 git checkout -b testing 添加并转到testing分支,不要直接在master分支上操作 gi 阅读全文
posted @ 2016-12-15 23:34 tonglin0325 阅读(210) 评论(0) 推荐(0) 编辑
摘要:1.设置用户名和邮箱 git config --global user.name "xxxx" git config --global user.email "xxx@xxx.edu.cn" 2.查看当前git的用户和邮箱 git config user.name git config user.e 阅读全文
posted @ 2016-04-27 22:44 tonglin0325 阅读(363) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示