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

Git pull force how to overwrite local changes with git #634

Conversation

luojiyin1987
Copy link
Contributor

@luojiyin1987 luojiyin1987 commented Mar 2, 2022

Checklist:

Closes #624


When you finish a task, it's time to synchronize with the remote repository. You want to pull the remote changes to keep up with the project's progress, and you want to push the local changes to share your work with others.
当你完成一个任务时,是时候与远程版本库同步了。你可以拉(pull)远程修改以保持项目的进展,你可以推送(push)本地修改以与他人分享你的工作。
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

你可以拉取(pull)远程修改以和项目的进展保持同步,你可以推送(push)本地修改以与他人分享你的修改内容。

学习实际的用例可以帮助你更好地理解Git在内部的工作原理。这反过来又会让你在遇到麻烦时,不断这样做,让你更有底气。
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这反过来又会让你在遇到麻烦时感到有力量。我们都会不时这样做。

@miyaliu666 miyaliu666 merged commit 1f8a6d7 into freeCodeCamp:main May 19, 2023
@miyaliu666 miyaliu666 added the Published 已发布 label May 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Published 已发布
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Auto](Git Pull Force——如何用 Git 覆盖本地更改)
2 participants