git 提交步骤

2018-08-22 • 默认分类2 条评论

Var branch = new-feat

In-master-branch

git pull --rebase

git checkout -b <branch>

In-<branch>-branch

Make some change

git add .

git commit -m '<fix || feat>: <msg>'

git checkout master

In-master-branch

git pull --rebase

git checkout <branch>

git rebase master

git log --graph --decorate --all //查看log,是否符合要求

git push --set-upstream origin new-feat

点击终端里面的链接,快速提交merge request

发表评论

已有 2 条评论
  1. 爸爸 爸爸

    idea提交的时候直接点commit and push

    1. 。。。你不用分支?