I am trying to create a good Git workflow for participating in an open source project (Endless Sky), but when I found out what I started, I did not finish with a clean history. Now my workflow:
upstream/master here .- My fork is here . I started using GitHub Desktop, but I'm starting to switch to the command line.
- My master fork is supposed to mirror
upstream/master. Each function I created has a branch for myself created by my master, and I use my own (local) branches alphaand (push) betato combine my functions for testing / playback.
My problem is on my forked host: This branch is 15 commits ahead of endless-sky:master.No files changed; it combines commit messages. It seemed ugly to me, so I did some reading, especially the article Stop using 'git pull': the best workflow , and I switched to reboot / fast forward.
But what is the best way to clear an existing merger to record history in this situation? It applies to some of my property branches (see:) feature/JammingHaywire, and I donβt want to submit a PR where meaningful commits are recessed by meaningless commits.
I read various other questions and don't quite understand if I am the best:
- removal / recycling
master- is it safe, especially with github? git rebase -i [which commit?] - - , . 0facf00, , , (, 3be4d97, GitHub) , . .- - , ? , " " ?