Skip to content
This repository has been archived by the owner on Feb 25, 2020. It is now read-only.

[FEATURE] Add functionality to rollback to a certain commit #308

Open
Ravid12 opened this issue Apr 10, 2019 · 4 comments
Open

[FEATURE] Add functionality to rollback to a certain commit #308

Ravid12 opened this issue Apr 10, 2019 · 4 comments
Labels
Approved enhancement New feature or request Medium

Comments

@Ravid12
Copy link
Collaborator

Ravid12 commented Apr 10, 2019

Description
As an avid coder and a user of the Git VCS, I frequently find myself writing code and making changes to projects that I end up having to throw away. Often times, this results in me having to rollback to a certain commit, before I created my feature-in-vain. This results in me having to go through the laborious process of running the git log command to find the commit hash I want to rollback to, then running git checkout [COMMIT HASH].
It would be a great if visual git made this process easier for me, by allowing me to checkout and rollback to certain commits.

Acceptance criteria
Users can roll back to certain commits in their commit history on an open repository.
It should be made clear to the user what git command is run when rolling back.

Pointers / Solutions

  • I would suggest adding a button to the modal which appears when a user clicks on a commit in the graph screen. The button should run the command: git checkout [Commit hash]

Suggested solution:
image

@Ravid12 Ravid12 added enhancement New feature or request Medium labels Apr 10, 2019
@Jess-Alcantara
Copy link
Collaborator

Good idea - since VisualGit is also about learning Git commands might be good to make it clear that it uses git checkout instead of git revert or git reset because of how differently each command handles undoing commits. Approved!

@hhagenson28
Copy link
Collaborator

Useful feature - approved!

@Ravid12
Copy link
Collaborator Author

Ravid12 commented Apr 11, 2019

Good Idea @Jess-Alcantara, Will update issue!

@rmberriman
Copy link
Collaborator

Approved! Sounds like a helpful feature

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Approved enhancement New feature or request Medium
Projects
None yet
Development

No branches or pull requests

4 participants