I made a fork of my public Github repo on a private Gitlab repo. I made several commits in a single branch of the fork and want to push all these changes (differences between public repo branch and private repo branch) as a single commit to the public repo branch on GitHub again. I only want to use the command line.
Does anybody know how to do this?
I think it's something with git squash.