What is difference between fork and branch?
Answer / Prakash Diwakar
To squash multiple commits into one, use the `git rebase -i` command with the `squash` instruction. To combine a commit with its parent using the 'fixup' strategy instead of creating a new commit, use the `git rebase -i --autosquash`. You can then edit and modify the resulting interactive rebase script.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is ‘git status’ is used for?
Why GIT better than Subversion?
What is the command you can use to write a commit message?
How to resolve a conflict in git?
What is git fork? How to create tag?
What is another option for merging in git?
How is git instaweb used?
What is the difference between fork, branch, and clone?
What is “Staging Area” or “Index” in GIT?
What does a commit object contain?
What is git bisect?
What is a ‘conflict’ in git?