How do you squash last N commits into a single commit?
Experience Level: Not defined
Tags: GitSource control
Answer
Related Git job interview questions
Why is it advisable to create an additional commit rather than amending an existing commit?
GitSource control Not definedWhat is Git bisect? How can you use it to determine the source of a (regression) bug?
GitSource control Not definedWhat does commit object contain?
GitSource control Not definedHow do you find a list of files that wer changed in a particular commit?
GitSource control Not definedHow do you revert a commit that has already been made public/pushed to a remote repository?
GitSource control Not defined