GithubHelp home page GithubHelp logo

练习2 about code-contributing-practice HOT 1 CLOSED

butteruni avatar butteruni commented on August 12, 2024
练习2

from code-contributing-practice.

Comments (1)

github-actions avatar github-actions commented on August 12, 2024

任务

随机变更 md 里的内容

唯一的要求是:在 PR 里不要出现上次提交的 git 记录。

方法

法一

如果你的仓库单纯比上游仓库较慢(只有 behind),那么可以在仓库内点击同步,同步为最新后再开始编码。

image

法二

如果又有 behind 又有 ahead 那么可以删除仓库,重新 Fork 。

法三

创建单独的分支,利用单独分支执行相关指令拉取最新请求。

(每次都创建一个新的分支,在那个分支上编码,完成之后就删除新创建的这个分支,保持主分支的干净,那么对于主分支来说就可以使用法一了)

git checkout -b new-branch-name 
git pull upstream master

from code-contributing-practice.

Related Issues (20)

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.