Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

练习2 #2

Open
Norton-Lin opened this issue Jul 4, 2024 · 1 comment · May be fixed by #18
Open

练习2 #2

Norton-Lin opened this issue Jul 4, 2024 · 1 comment · May be fixed by #18
Assignees
Labels

Comments

@Norton-Lin
Copy link
Collaborator

No description provided.

Copy link

github-actions bot commented Jul 4, 2024

任务

随机变更 md 里的内容

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

方法

法一

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

image

法二

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

法三

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

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

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

@github-actions github-actions bot added the issue2 label Jul 4, 2024
@lvmingze123 lvmingze123 linked a pull request Oct 5, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant