Date: Thu, 23 Jun 2022 16:07:32 +0000 From: bugzilla-noreply@freebsd.org To: doc@FreeBSD.org Subject: [Bug 264751] Committer's Guide: `git config push.default freebsd` causes error Message-ID: <bug-264751-9-LDIWYqmI4Q@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-264751-9@https.bugs.freebsd.org/bugzilla/>
index | next in thread | previous in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264751 --- Comment #4 from Warner Losh <imp@FreeBSD.org> --- Yea, this command looks wrong to me as well now that I'm reading it. I may have accepted it from someone else and didn't do the due diligence to test it. I think the proper way to set this default is on a per-branch basis. The only way I know of is 'git push -u freebsd master' to set 'freebsd' as the default upstream for master. There's a way you can it with git checkout --track, but that seems to be for situations different than this. Eg when you are creating branch 'foo' as a feature branch and want to track upstream/main so git rebase doesn't need to specify it all the time. Ideally, we could play test both of these recommendations and update this section with the git push -u and maybe also update the rebasing section with that info too. I'm a bit busy to do the testing and updating myself. -- You are receiving this mail because: You are the assignee for the bug.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-264751-9-LDIWYqmI4Q>
