So i was checking for other solutions but it's not exactly suited for me I'm also dealing with a branch merge
git log
commit 6d034e1b1f03241b2c660312660ce29acca23f60
Author: ME <myfakemail@gmail.com>
Date: Thu Jun 30 13:09:08 2016 +0100
text so people click the button
commit b9295485e17ccb6662b688b5c0f796656ef5f0de
Author: Me-again <myfakemail@fakeville.com>
Date: Wed Jun 29 17:22:33 2016 +0100
Adding the 4th celebration to index.php
commit 01ab5a9cfcefe34e72f06f52974da96ce1c2980a
Author: Me-again <myfakemail@fakeville.com>
Date: Wed Jun 29 12:40:37 2016 +0100
do the status check after all stops have been performed
commit 904bfdfbc4b536d052e61a303a17e6e108b7d9fe
Author: ME <myfakemail@gmail.com>
Date: Thu Jun 23 15:16:39 2016 +0100
changing music to StarSpangled
commit 5874707b022fb6039df84372a750c8fc57215af1
Author: ME <myfakemail@gmail.com>
Date: Thu Jun 23 15:15:30 2016 +0100
Quintessential american music
commit 175d5e53c43c7175b6478070d5660e7426aeade9
Author: Me-again <myfakemail@fakeville.com>
Date: Wed Jun 22 13:11:48 2016 +0100
Adding error logging and messaging for stop and start
commit 630c25055044a44be304353d3d18e385fed091a3
Merge: 7019947 35eb826
Author: Not Me <notme@mail.com>
Date: Fri Jun 17 16:57:17 2016 +0100
Quintessential american music
commit 175d5e53c43c7175b6478070d5660e7426aeade9
Author: Me-again <myfakemail@fakeville.com>
Date: Wed Jun 22 13:11:48 2016 +0100
Adding error logging and messaging for stop and start
commit 630c25055044a44be304353d3d18e385fed091a3
Merge: 7019947 35eb826
Author: Not Me <notme@mail.com>
Date: Fri Jun 17 16:57:17 2016 +0100
Merge branch 'master' of https://github.com/ME/MyProject
commit 7019947ceea28bd80d020e062a003433529c2a5a
Author: Not Me <notme@mail.com>
Date: Fri Jun 17 16:57:00 2016 +0100
4th of July draft
commit 35eb826c39f8b8e0fafd51a9cebae68dd434c7eb
Merge: f0a144f 6a6937d
Author: Me-again <myfakemail@fakeville.com>
Date: Fri Jun 17 16:26:18 2016 +0100
Merge branch 'master' of https://github.com/ME/MyProject
Entering the new cast iron options
So essentially we have this project and decided to add a bit of flavour/fun for our american brethren. The only thing though while we had it prepared for going up , there was some serious commits made to the project.
Now that the 4th is over I want to remove the themed stuff and go back to normal
I was thinking my options are
- revert all the 4th related commits
- rebase and add the two serious commits back into the code
So i ran
git revert --no-commit 6d034e1b1f03241b2c660312660ce29acca23f60 b9295485e17ccb6662b688b5c0f796656ef5f0de 904bfdfbc4b536d052e61a303a17e6e108b7d9fe 5874707b022fb6039df84372a750c8fc57215af1 630c25055044a44be304353d3d18e385fed091a3 7019947ceea28bd80d020e062a003433529c2a5a
error: Commit 630c25055044a44be304353d3d18e385fed091a3 is a merge but no -m option was given.
And from what I can see it's left me in a half reverted status with only the edits from those commits removed in the staging area but the changes introduced in the merge still there
Am i better to just rebase to the commit 35eb826c39f8b8e0fafd51a9cebae68dd434c7eb and then add
01ab5a9cfcefe34e72f06f52974da96ce1c2980a
175d5e53c43c7175b6478070d5660e7426aeade9
Sorry for the rant but if you git gurus were in a similar situation what course of action would you take ?