GithubHelp home page GithubHelp logo

gitskills's People

Contributors

irene-coming avatar

Watchers

 avatar  avatar

gitskills's Issues

how to update a fork repository

step1. 进入fork的项目,点击 new pull request

image

step2. 点击create pull request, 如果按钮不可见,尝试修改来源和发起方后再重新改回最初的来源和发起方
image

step3.点击merge pull request
image

step4.点击Confirm merge
image

gitlab create-deal-closed&clear Merge Request

gitlab 创建pr完整流程
1. git pull origin //更新本地内容与远程仓库同步
2. git status //确认本地没有遗留提交或更改
3. git checkout -b 自定义分支名--my_new_branch //新建分支并切换为当前
4. 做自己的更新
5. git add 更新
6. git commit -a -m "自定义commit message"
7. git push origin my_new_branch
8. 登录gitlab相关git仓库

  • a

image

  • b
    *为必填项,按需选择框如果还需要新的功能添加,可直接在该分支继续进行,重复步骤4-8
    image
    image
    9. 点击查看是否有被assign的Merge Requests
    image
    10. 点击查看merge request详情
    通过1处review 变化,
    如果接受merge,点击2 完成Merge
    如果需要修改,点击3关闭,变更人做完修改重新发起Merge request
    image
    11. 第8.b 或第10步完成后选择了删除分支,远程工作分支在merge后即被删除,本地同步删除远程的已删除分支:
    git remote prune origin --dry-run //查看本地存在,远程已删除的分支
    git remote prune origin //删除本地分支

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.