If you want to move a commit to an intermediate region - it is to expose it and move all the changes that were in it to the intermediate region (effectively placing the branch in the state that would be before commit) - how do you do it? Or is that something you cannot do?
The closest I know how to do is copy all the files that have been changed in commit to another location, reset the commit branch to commit, which you are trying to move to the intermediate area, move all the copied files back to the repository and then add them to the intermediate region. It works, but it is not a good solution. What I would like to do is simply undo the commit and move it to the setting area. It can be done? And if so, how?
git commit staging
Jonathan M Davis Aug 27 2018-11-11T00: 00Z
source share