Explore Courses Blog Tutorials Interview Questions
0 votes
in DevOps and Agile by (19.4k points)
I'm working on my own fork and doing some changes in too many commits.

Now, I have to merge my fork in the original fork and I want that in the pull request, only show one commit with all changes that I did I all commits.

It is possible?

1 Answer

0 votes
by (12.4k points)

Here you can keep all your commits in the pull request and later can squash merge the PR.

For example:

git checkout master

git merge --squash bugfix

git commit

 For more information on Git, you can join git training.

Browse Categories