From nobody Sat Sep 9 17:39:01 2023 X-Original-To: freebsd-git@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 4RjgFk5RM2z4sSdq for ; Sat, 9 Sep 2023 17:39:06 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Received: from mail-ed1-x530.google.com (mail-ed1-x530.google.com [IPv6:2a00:1450:4864:20::530]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RjgFj1NMbz3bhH for ; Sat, 9 Sep 2023 17:39:05 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20221208 header.b=QsSKTB00; spf=pass (mx1.freebsd.org: domain of grahamperrin@gmail.com designates 2a00:1450:4864:20::530 as permitted sender) smtp.mailfrom=grahamperrin@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-ed1-x530.google.com with SMTP id 4fb4d7f45d1cf-522dd6b6438so3814685a12.0 for ; Sat, 09 Sep 2023 10:39:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694281143; x=1694885943; darn=freebsd.org; h=content-transfer-encoding:in-reply-to:cc:subject:from:references:to :content-language:user-agent:mime-version:date:message-id:from:to:cc :subject:date:message-id:reply-to; bh=5B9Sd3yZsO0bKswLmbpSeRdgFecP+IMOdlyEd8llBaw=; b=QsSKTB00/Way5i65mHZR63972IFlDrANvmz+0pruD3oMr2lukB78uCqN+ZQf9jdQoc oFfjDR4STBVJBfPoyCst8E9R1zEYQItY0N/lvjEXtMpmYXjrfaq63a0UdEt7nmJPZG0o ky0+YKyGt5hvLerc5OVAIWCRQuqHGZDZqEvI5FNWtzp3gAAwp/mq4Icd10HOty6d2M3d tpnUq+8A1m2NrEb+Uf9PJcxHyuzMgLQzu0n25az4WaY1GZvH0JOgHaF5FgRsMLQj2nd2 tWov1KT/UzKXjzamWCU2cpnhujhTi8Vp/1rDTywLBkxAZLGUOpQc/7Z3rGs6d11gPTjz HURg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694281143; x=1694885943; h=content-transfer-encoding:in-reply-to:cc:subject:from:references:to :content-language:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=5B9Sd3yZsO0bKswLmbpSeRdgFecP+IMOdlyEd8llBaw=; b=SRRF19edKlpNXwHQHPOYTinL0zF7bH3nAcCGBdktw+VQB02il46rt5XgWinNtrOBbv 8ybR7QGUkmyUCWoQ9qI+v8MKkZDCIS356j8xNZH74ZRee7WjKIL1uFO7sXa6qoqoJrwT /JGz3wgVGFEQN1GHl66EnnkgBdSY2g4xFWtenAD4qieQMttwwSMdb3/TLRlSqtTxqN6Q 6Y2hCD8e4Q3IY6TFDzflzvfvsflR1SIIrsa85lYCbWwE+YiWjxKzK456QOTP5JmnX7Be mbaioTuecnNMaA/nF079Wsj0O4HIi963xjG2fBSwbyZIX91GLSZs6wB+PJVdTQRWE8+M fIUw== X-Gm-Message-State: AOJu0YyaQHEkbyG4jxnfEiKgPjVxwL2/KDkr6uxSXQQjKiKpgkz91mo2 l+Dc2L4Co5sKLCvQez+FoR3HWEtBFpLULg== X-Google-Smtp-Source: AGHT+IEG7Ulf6x//PcNMBCc35hPV7sR7DCPITAl0D2BtQ5sOPgEhTNMzCl17cfsFv5JwFpqPY0Q8Cw== X-Received: by 2002:aa7:ca52:0:b0:52a:66c0:1e9b with SMTP id j18-20020aa7ca52000000b0052a66c01e9bmr4416417edt.30.1694281143288; Sat, 09 Sep 2023 10:39:03 -0700 (PDT) Received: from ?IPV6:2001:470:1f1c:a0::2? (tunnel642390-pt.tunnel.tserv1.lon2.ipv6.he.net. [2001:470:1f1c:a0::2]) by smtp.gmail.com with ESMTPSA id n28-20020a056402515c00b0052a198d8a4dsm2393759edd.52.2023.09.09.10.39.02 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 09 Sep 2023 10:39:02 -0700 (PDT) Message-ID: <7e72f94c-dc87-0244-cd2c-59371ab4bf2d@gmail.com> Date: Sat, 9 Sep 2023 18:39:01 +0100 List-Id: Discussion of git use in the FreeBSD project List-Archive: https://lists.freebsd.org/archives/freebsd-git List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-git@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:102.0) Gecko/20100101 Thunderbird/102.15.0 Content-Language: en-US To: Warner Losh References: <7e6a3a98-80a8-c787-fda5-65e924dbad34@gmail.com> <543e12ed-bc12-ee0e-4ddf-4423fe704d78@gmail.com> From: Graham Perrin Subject: Re: Working with forks Cc: freebsd-git In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spamd-Bar: --- X-Spamd-Result: default: False [-4.00 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-0.999]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20221208]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; MIME_GOOD(-0.10)[text/plain]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::530:from]; FREEFALL_USER(0.00)[grahamperrin]; FROM_HAS_DN(0.00)[]; MLMMJ_DEST(0.00)[freebsd-git@freebsd.org]; PREVIOUSLY_DELIVERED(0.00)[freebsd-git@freebsd.org]; BLOCKLISTDE_FAIL(0.00)[2001:470:1f1c:a0::2:server fail,2a00:1450:4864:20::530:server fail]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; RCVD_COUNT_TWO(0.00)[2]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; TO_DN_ALL(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; ARC_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; MIME_TRACE(0.00)[0:+]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_TLS_LAST(0.00)[] X-Rspamd-Queue-Id: 4RjgFj1NMbz3bhH On 08/09/2023 05:37, Warner Losh wrote: > … > > Or in this case I just did: > > % git remote add jlduran ssh://git@github.com/jlduran/freebsd-src.git > > % git fetch jlduran > % git checkout nanobsd-embedded-use-makefs OK, that makes sense in the context of , >> … exist a tracking branch in exactly one remote … with a matching name … >> Then , I can see the name of the fork: git -C /usr/src branch -vv Nowadays, when creating a branch in GitHub I get the hint to have the name of my fork as the prefix- to the name. I don't know whether this is a native feature, or thanks to refined-github. Thanks for the condensed examples. Very helpful. (Sorry for abusing freebsd-git with questions that are not FreeBSD-specific. Experiences in Git-specific areas haven't been good, for me.)