Hello Hexo
Mar 10, 2015
...阅读全文$ git init
(初始化,创建新的git仓库)$ git add <filename>
(将改动添加到缓存区Index)$ git add -u
(automatically stage tracked files including deleting the previously tracked files)$ git commit -m
“改动信息”(实际提交改动到HEAD)$ git commit -v
(可在输入 log 时在下方显示改动内容)$ git push origin
<某个分支>(将本地仓库的改动origin提交到某个分支)$ git remote add origin <server>
(如果还未克隆现有仓库,可用此命令连接到服务器上的某个repo)