From mboxrd@z Thu Jan 1 00:00:00 1970 From: mailings at hupie.com (Ferry Huberts) Date: Wed, 28 Sep 2016 09:16:23 +0200 Subject: Development Flow Improvements In-Reply-To: References: Message-ID: On 28/09/16 01:27, Jason A. Donenfeld wrote: > Hi Jamie, > > I won't force commit on master, obviously (well, I've violated this in > the past, but don't intend to in the future). But I'd likely rebase > for-jason branches when merging if that makes the merge strategy THis should preferably avoided; let the owner of the branch do that rebase or let him merge master into his branch first. That way the guy that knows what is going on the branch will handle the conflicts. Then you can merge to master. These merges should always be without conflict. > easier. The for-jason branches will be ephemeral; after I merge to > master, they'll be deleted. Here's the output from this process I > carried out earlier today, to give a better impression. > > Does that seem reasonable, or is there some common edge case I'm neglecting? > > Regards, > Jason > > zx2c4 at thinkpad ~/Projects/cgit $ git pull > remote: Counting objects: 23, done. > remote: Compressing objects: 100% (23/23), done. > remote: Total 23 (delta 18), reused 0 (delta 0) > Unpacking objects: 100% (23/23), done. > From ssh://git.zx2c4.com/cgit > * [new branch] ch/css-highlight-table-rows -> > origin/ch/css-highlight-table-rows > * [new branch] ch/for-jason -> origin/ch/for-jason > * [new branch] ch/git-2-10-0 -> origin/ch/git-2-10-0 > zx2c4 at thinkpad ~/Projects/cgit $ git checkout master > Switched to branch 'master' > Your branch is up-to-date with 'origin/master'. > zx2c4 at thinkpad ~/Projects/cgit $ git merge origin/ch/for-jason > Updating ff9893a..11695a5 > Fast-forward > Makefile | 2 +- > cgit.c | 2 +- > cgit.h | 8 ++++---- > git | 2 +- > shared.c | 28 ++++++++++++++-------------- > ui-diff.c | 74 > +++++++++++++++++++++++++++++++++++++------------------------------------- > ui-diff.h | 4 ++-- > ui-log.c | 2 +- > ui-ssdiff.c | 4 ++-- > 9 files changed, 63 insertions(+), 63 deletions(-) > zx2c4 at thinkpad ~/Projects/cgit $ git push > Total 0 (delta 0), reused 0 (delta 0) > To ssh://git.zx2c4.com/cgit > ff9893a..11695a5 master -> master > zx2c4 at thinkpad ~/Projects/cgit $ git push origin :ch/for-jason > To ssh://git.zx2c4.com/cgit > - [deleted] ch/for-jason > _______________________________________________ > CGit mailing list > CGit at lists.zx2c4.com > http://lists.zx2c4.com/mailman/listinfo/cgit > -- Ferry Huberts