I have a function branch feature-1
created using a wizard. A lot of time passed, and I created a lot of commits on feature-1
.
Now I want to undo the commit of all changes in a specific directory, say src/modules/feature-2
I made the branch feature-1
back to state, since they are in master
.
I'm sure this should be possible in git, just don't know how to do it !?
source
share