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

Support reverting a previously created commit #542

Closed
Vdragon opened this Issue Jan 15, 2016 · 4 comments

Comments

Projects
None yet
2 participants
@Vdragon
Contributor

Vdragon commented Jan 15, 2016

As title.

@Vdragon Vdragon added the help wanted label Jan 15, 2016

@davvid

This comment has been minimized.

Show comment
Hide comment
@davvid

davvid Jan 15, 2016

Member

Currently the Unstage All action effectively does a git reset -- ..

Are you interested in the other reset flavors, specifically the git reset --merge <SHA1> -- operation?

Member

davvid commented Jan 15, 2016

Currently the Unstage All action effectively does a git reset -- ..

Are you interested in the other reset flavors, specifically the git reset --merge <SHA1> -- operation?

@Vdragon

This comment has been minimized.

Show comment
Hide comment
@Vdragon

Vdragon Jan 15, 2016

Contributor

@davvid I'm interested with reverting a previously created commit, it should be in the DAG window? but I find no such option.

Contributor

Vdragon commented Jan 15, 2016

@davvid I'm interested with reverting a previously created commit, it should be in the DAG window? but I find no such option.

@Vdragon Vdragon changed the title from Support git-reset to Support reverting a previously created commit Jan 15, 2016

@davvid

This comment has been minimized.

Show comment
Hide comment
@davvid

davvid Jan 15, 2016

Member

Ah, that would be very useful. This should be straightforward to add to Actions and DAG.

We could do git reset --mixed <SHA1> --
The git reset --soft mode is kinda interesting, but probably not something we need.

Maybe we can use a string in the interface like, "Reset branch head to commit (git reset --mixed)"
What do you think?

Member

davvid commented Jan 15, 2016

Ah, that would be very useful. This should be straightforward to add to Actions and DAG.

We could do git reset --mixed <SHA1> --
The git reset --soft mode is kinda interesting, but probably not something we need.

Maybe we can use a string in the interface like, "Reset branch head to commit (git reset --mixed)"
What do you think?

@Vdragon

This comment has been minimized.

Show comment
Hide comment
@Vdragon

Vdragon Jan 15, 2016

Contributor

We could do git reset --mixed --
The git reset --soft mode is kinda interesting, but probably not something we need.
Maybe we can use a string in the interface like, "Reset branch head to commit (git reset --mixed)"
What do you think?

@davvid That's great, maybe provide --hard mode as well would also be useful.

Contributor

Vdragon commented Jan 15, 2016

We could do git reset --mixed --
The git reset --soft mode is kinda interesting, but probably not something we need.
Maybe we can use a string in the interface like, "Reset branch head to commit (git reset --mixed)"
What do you think?

@davvid That's great, maybe provide --hard mode as well would also be useful.

@davvid davvid closed this in fb92346 Jan 16, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment