July 2018
Intermediate to advanced
354 pages
10h 57m
English
Now we have squashed two commits, but we could have used other keywords when editing the rebase's to-do list.
We will try the fixup functionality, which works like the squash functionality, by performing the following steps; the exception is that Git will select the commit message of the commits using the pick keyword:
$ git reset --hard 5218f7b
HEAD is now at 5218f7b Propagate IOException where possible when getting refs.
$ git status
On branch rebaseExample3
Your branch is ahead of 'origin/stable-3.1' by 6 commits.
(use "git push" to publish your local commits)
nothing to commit, working directory clean
Read now
Unlock full access