摘要:
1 add 把本地代码,提交到暂存区 2 commit 把暂存区代码,提交到本地git仓库 3 pull 从服务器获取最新代码 4 push 把代码从本地git仓库推送到远程服务器 5 分支 6 克隆 可参考: http://www.liaoxuefeng.com/wiki/001373951630 阅读全文
摘要:
1 先安装git,然后初始化git config git config --global user.name "Your Name" git config --global user.email "email@example.com" 因为Git是分布式版本控制系统,所以,每个机器都必须自报家门:你 阅读全文