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 a distributed vcs?
What does a commit object contain?
To delete a branch what is the command that is used?
What is git reflog?
What is ‘git status’ is used for?
What is the function of ‘git checkout’ in git?
What is git fork? How to create tag?
What is “Staging Area” or “Index” in GIT?
What are the benefits of using version control system?
what is git fork? What is difference between fork and branch? How to create tag?
What work is restored when the deleted branch is recovered?
What is another option for merging in git?