Skip to content

Reviewed 02-git-basics getting-a-repository#280

Closed
branchzero wants to merge 0 commit intoprogit:masterfrom
branchzero:02-git-basics-getting-a-repository
Closed

Reviewed 02-git-basics getting-a-repository#280
branchzero wants to merge 0 commit intoprogit:masterfrom
branchzero:02-git-basics-getting-a-repository

Conversation

@branchzero
Copy link
Copy Markdown
Contributor

No description provided.

@branchzero branchzero mentioned this pull request Aug 25, 2015
25 tasks
@oldsharp
Copy link
Copy Markdown
Contributor

5ac1dd9 是一个 Merge Commit,将其放入 PR 并最终引入主干历史是不合理的,
其实我们需要的仅仅是 8923958

为了去掉 5ac1dd9 同时实现 sync,就目前情况,可以如下操作:

git checkout master
# Here I assume your "progit2-zh" remote is named "upstream"
git pull --ff-only upstream master
git checkout 02-git-basics-getting-a-repository
git reset --hard master
git cherry-pick 8923958
git push --force origin 02-git-basics-getting-a-repository

On Tue, 25 Aug 2015, BranchZero Sun wrote:

You can view, comment on, or merge this pull request online at:

#280

-- Commit Summary --

-- File Changes --

M book/02-git-basics/sections/getting-a-repository.asc (54)

-- Patch Links --

https://github.com/progit/progit2-zh/pull/280.patch
https://github.com/progit/progit2-zh/pull/280.diff


Reply to this email directly or view it on GitHub:
#280

@branchzero
Copy link
Copy Markdown
Contributor Author

@oldsharp 了解,待会儿处理,谢谢指教:)

@branchzero branchzero force-pushed the 02-git-basics-getting-a-repository branch from 8923958 to a04292d Compare October 16, 2015 00:06
@branchzero branchzero closed this Oct 16, 2015
@branchzero branchzero force-pushed the 02-git-basics-getting-a-repository branch from a04292d to 42234cf Compare October 16, 2015 00:17
OlingCat pushed a commit to OlingCat/progit2-zh that referenced this pull request Mar 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants