Closed shaansubbaiah closed 4 years ago
The first commit appears to be due to merging changes to my fork from upstream. To remove it, I can delete the current fork, create another fork, then add these changes (or) Can only the last 2 commits be merged and pushed?
Reviewed, thanks.
The two commits can be cherry-picked but you can also do an interactive rebase to the current master and drop the merge commit. Can you also squash the two commits?
$ git rebase -i f1ac684
*change `pick` to `drop` for c60e316 and continue rebase.
I tried the above snippet you sent and tried to rebase it, didn't have that commit as an option. Installed GitKraken and was also unsuccessful. Shall I create another branch and make a new PR?
@shaansubbaiah
git rebase -i f1ac68488631ab153dd31b737819fd5cadc3b158
then, if you do not see https://github.com/sugarlabs/sugar/pull/918/commits/c60e316e693c20b4996c15cbcbba66f3cdeecd8f
Then just save and close to complete the rebase; The merge commit should disappear when you do that
git push -f
It should fix it in theory
Squashed and merged by hand.
@chimosky Thanks, I tried what @srevinsaju suggested and it didn't work. I must have messed up my git tree pretty badly somehow.
I'll go through more git tutorials so it doesn't happen again 👍
Add links to Sugar login tutorial available at sugar-docs
Fixes #892