0

I'm working in 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 thah i did i all commits.

It is posible?

Thanks in advance and sorry if the question is duplicated. I was looking for with no success.

hmar
  • 107
  • 2
  • 13
  • Possible duplicate of [Git: How to squash all commits on branch](https://stackoverflow.com/questions/25356810/git-how-to-squash-all-commits-on-branch) – mkrieger1 Jul 05 '19 at 11:44
  • 1
    Possible duplicate of [Squash to only one "proper" commit for github pull request](https://stackoverflow.com/questions/11396069/squash-to-only-one-proper-commit-for-github-pull-request) – phd Jul 05 '19 at 12:10
  • https://stackoverflow.com/search?q=%5Bgit%5D+pull-request+one+commit – phd Jul 05 '19 at 12:10

1 Answers1

0

You can keep all commits in pull request and can squash merge the PR. This way you will result only in one commit. You can refer this to see how to squash merge : How to use git merge --squash?

user
  • 867
  • 9
  • 21