From nobody Thu Jun 23 16:07:32 2022 X-Original-To: doc@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id C69AC861380 for ; Thu, 23 Jun 2022 16:07:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LTQBX4Xq6z51TX for ; Thu, 23 Jun 2022 16:07:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 7D4171DF59 for ; Thu, 23 Jun 2022 16:07:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 25NG7Wae093277 for ; Thu, 23 Jun 2022 16:07:32 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 25NG7WV9093276 for doc@FreeBSD.org; Thu, 23 Jun 2022 16:07:32 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: doc@FreeBSD.org Subject: [Bug 264751] Committer's Guide: `git config push.default freebsd` causes error Date: Thu, 23 Jun 2022 16:07:32 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Documentation X-Bugzilla-Component: Books & Articles X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: imp@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: doc@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Documentation project List-Archive: https://lists.freebsd.org/archives/freebsd-doc List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-doc@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1656000452; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Oj2pCCSSFNIJRJ93YBNwQO6GwgFkzJTaC0EgufE/cvs=; b=TLzPZuRZIiTsIMi3LetgZBSHuDJzy/3baR3Dhov8jvQ75icEuMCJF7InZ43kn9AbqJlLon Sr3CcAz5pwfcRlpalUEsEBxWPvXeDGJLxCR2VKr4fKeaZWD6lWjY6gHDT7CuskfLWc5vf2 kbbSUX7U1Wx44rogOcUNr9jMWm9r7Y6y4hoYRFcHJ40oIVu7OkbHBoHVysUZEfT04Xgn+I m2oxrW0VSuZN7/eyvZzJZ24dHlBP+ddgLpXvXILxSGkb1f0b4/W2iawKedVbsaL5jsOyU1 4dqAU3N9Twfvox12MLWp4ZSLSj6HAqPBfmvaQUtRAI9GZpfP9lK7VFDFIuROFw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1656000452; a=rsa-sha256; cv=none; b=FzJO1GZ5ilO6p5p+qQqopN0BNR8W70jjjSLb6NeecUpF9EQRUL0MX5UQF23UbhEIYhTsN5 eVZVLvYZN3nR0V/zf+EiCu3B2fARNaGiv0685oej3a4IiH5QhK5lWbv2LxoVQBQmHzH7v5 Xr7wMGIPqycGh/AF8V/LYylFPHPF98UOhLvBn5Wtzxb6d6iScRFkX8/xMYzIVYmTrxQQXv BdXuewMeJdA1mgxgadngRihXPYDBbSjnDb91kdfo8I+TN+O7WCkpMenEws+yTw5FGhZkqr swyXjzEASS+nv/81Size0gEJEuBflJKx514xDt8C0cu45uRsvbkgBxrSg6W+sg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264751 --- Comment #4 from Warner Losh --- 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 on= ly way I know of is 'git push -u freebsd master' to set 'freebsd' as the defau= lt 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 creati= ng branch 'foo' as a feature branch and want to track upstream/main so git reb= ase 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. --=20 You are receiving this mail because: You are the assignee for the bug.=