I want to merge e5c1e1d
and 627c6c6
How to do it ? I want an easier way.
Because if there are hundreds commits between them, it will be very trouble to do rollback then re-commit.
* fc60bec - (HEAD, master) Make db migrate (67 seconds ago)
* e5c1e1d - Add application page ,css , javascript (78 seconds ago)
* b6c5b68 - Add sandbox page (3 minutes ago)
* 7552b76 - Add welcome controller (25 minutes ago)
* 627c6c6 - Add themes folder into projects (54 minutes ago)
* 856c719 - Initial commit (68 minutes ago)
When I ran git rebase --interactive 856c719
Then I edited the file in the following, after saving it.
I got
2_dqa_streesful_server/.git/rebase-merge/stopped-sha: No such file or directory
Cannot 'squash' without a previous commit
1 squash 627c6c6 Add themes folder into projects
2 pick 7552b76 Add welcome controller
3 pick b6c5b68 Add sandbox page
4 squash e5c1e1d Add application page ,css , javascript
5 pick fc60bec Make db migrate