git 常用命令

来源:互联网 发布:淘宝网套装春秋女装 编辑:程序博客网 时间:2024/06/12 22:54


git add . 增加所有


git commit -a -m '注释'    提交到本地


git push       提交到git服务器


git checkout 撤销本地更改


git diff 查看具体的变化内容


git status 查看文件变化


git log 查看提交日志


git show 日志编号   查看日志详情


git branch 分支明   切换分支



0 0
原创粉丝点击