摘要: 空内容分支是指全新的分支,不是基于现有的分支节点上创建,可以存放全新的初始的代码。注意这么用会增加仓储的大小,如果不是特别需要,不建议这么做。 git commit allow empty m "initial commit" git push origin HEAD:refs/heads/[bra 阅读全文
posted @ 2016-08-30 14:03 鹤骨松姿 阅读(1306) 评论(0) 推荐(0) 编辑
摘要: git常用命令 ~~~ git pull rebase 从服务器获得更新 git status 查看本地修改 git add .git add xxx 添加本地的修改 git rm xxx 删除一个本地修改 git commit 提交本地修改,但没有上传到服务器,只是本地的记录,git commit 阅读全文
posted @ 2016-08-30 13:58 鹤骨松姿 阅读(342) 评论(0) 推荐(0) 编辑