gitgraph.js icon indicating copy to clipboard operation
gitgraph.js copied to clipboard

Go back to a specific commit by Id, then put on another action, like branch out

Open queeeentin opened this issue 4 years ago • 2 comments

Is there a way that we can go back to a committed commit on a branch then perform an action on the commit, like create a branch.

queeeentin avatar Jun 01 '20 23:06 queeeentin

alternatively, if we can have a reference to a specific commit and and make change on top of the commit, that would work as well

queeeentin avatar Jun 02 '20 17:06 queeeentin

I was worried that parallel branching might be difficult when I first read this issue, but it seems this is not a problem as long as you create a branch at the right time.

You can then assign it to a variable and keep that variable around, then later add commits to that branch. After all this is just a simulation of git history, you can play with the scenario to make it work.

albertdev avatar Nov 17 '20 15:11 albertdev