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

Reset local repository branch to be just like remote repository HEAD #85

Open
absyah opened this issue Jun 11, 2019 · 0 comments
Open
Assignees
Labels
dailyhack This issue belongs to dailyhack.xyz git

Comments

@absyah
Copy link

absyah commented Jun 11, 2019

Setting your branch to exactly match the remote branch can be done in two steps:

git fetch origin
git reset --hard origin/<branch>
@mddanishyusuf mddanishyusuf added dailyhack This issue belongs to dailyhack.xyz git labels Jun 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dailyhack This issue belongs to dailyhack.xyz git
Projects
None yet
Development

No branches or pull requests

2 participants