大佬教程收集整理的这篇文章主要介绍了Git Commands,大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。
$ git --version
$ git config --global user.name MudOnTire
$ git config --global user.email 895157882@qq.com
$ git config user.name
$ git config user.email
$ git init
$ git status
$ git add index.html
$ git add .
$ git rm --cache index.html
$ git commit -m "add index and style files"
$ git log
$ git log --oneline
$ git checkout 0e2a5f3
$ git checkout master
$ git revert eb95c64
$ git reset eb95c64
$ git reset eb95c64 --hard
$ git branch -a
$ git branch feature-1
$ git checkout feature-1
$ git branch -D feature-1
$ git checkout -b feature-1
@H_848_0@merge branch
$ git merge [name_of_targeT_Branch]
$ git push origin [name_of_your_new_branch]
以上是大佬教程为你收集整理的Git Commands全部内容,希望文章能够帮你解决Git Commands所遇到的程序开发问题。
如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。