git - Uncommit all commits in current branch but leave all changes at the current state -


i have branch a in repo 10 commits. want find way delete commits leave changes in current branch (so state of code same commits in a gone). purpose can go on changes , cerry pick once want , structure better commit messages before merge master. flow possible?

git reset master change head , index same state master, leave working tree untouched (e.g. current state).


Comments

Popular posts from this blog

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -