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

Add --hard or --force option to the hit sync command #136

Closed
chshersh opened this issue Jan 20, 2020 · 0 comments · Fixed by #174
Closed

Add --hard or --force option to the hit sync command #136

chshersh opened this issue Jan 20, 2020 · 0 comments · Fixed by #174
Assignees
Labels
CLI command-line interface

Comments

@chshersh
Copy link
Contributor

Sometimes remote branch is changed differently (from another machine for example). In that case simple hit sync might not work since by default it will rebase on top of the branch from branch. So sometimes it would be nice to add a flag which is equivalent to:

git fetch origin ...branch-name...
git reset --hard origin/branch-name
@chshersh chshersh added the CLI command-line interface label Jan 20, 2020
@chshersh chshersh added this to the v0.2.0.0: Refinement milestone Feb 9, 2020
@chshersh chshersh self-assigned this Jun 25, 2020
chshersh added a commit that referenced this issue Jun 25, 2020
vrom911 pushed a commit that referenced this issue Jun 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLI command-line interface
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant