摘要: 01、初始化仓库 $ git init 02、Untrack和Modified文件加入暂存区 $ git add *.c $ git add LICENSE 03、暂存区文件提交到仓库(文件加入暂存区后,又被修改,只会提交加入暂存区的文件状态) $ git commit -m 'init proje 阅读全文
posted @ 2020-04-03 22:06 TBBS 阅读(135) 评论(0) 推荐(0) 编辑
摘要: 01、git有3种优先级的配置,使用git config 加下表[命令参数]修改 02、设置git用户信息 $ git config --global user.name "John Doe" $ git config --global user.email johndoe@example.com 阅读全文
posted @ 2020-04-03 09:15 TBBS 阅读(82) 评论(0) 推荐(0) 编辑