[pull 5236] seeking advise
Ralph Seichter
abbot at monksofcool.net
Wed Sep 11 14:06:12 UTC 2019
* Bjarne D. Mathiesen:
> Am I correct in assuming, that if I have to edit my submission, I'll
> have to do it this way [...]
Not quite. Assuming your output of "git remote -v" looks like this:
origin git at github.com:BjarneDMat/macports-ports.git
you can just keep on editing branch "dovecot2" and using rebase:
git checkout dovecot2
# ... make changes ...
git commit
git rebase -i HEAD~2
Replace HEAD~2 with the actual number of commits you want to
rebase. Squash commits as necessary, combining them to logical
units. Finally, use
git push -f origin dovecot2
to force-push the branch's modifications to GitHub. Forced pushes won't
hurt if you are the only one working on that branch.
-Ralph
More information about the macports-dev
mailing list