Git常用命令
Git diff //查看本地的修改的代码
合并代码:
Git merge <branch Name> //合并代码
Git mergetool //解决冲突
git commit --amend -m"说明" //修改 提交 说明
git commit -C head -a --amend //增补提交,不会产生新的提交记录
git checkout head . //撤销尚未提交的代码
git reset head 或 git reset head<filename> //取消缓存
Git tag 1.0 创建标签(无法重命名)
http://www.cnblogs.com/1-2-3/archive/2010/07/18/git-commands.html

浙公网安备 33010602011771号