From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS31976 209.132.180.0/23 X-Spam-Status: No, score=-4.2 required=3.0 tests=AWL,BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by dcvr.yhbt.net (Postfix) with ESMTP id 3B9C51F461 for ; Tue, 14 May 2019 10:33:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726075AbfENKdI (ORCPT ); Tue, 14 May 2019 06:33:08 -0400 Received: from smtp-out-5.talktalk.net ([62.24.135.69]:2379 "EHLO smtp-out-5.talktalk.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725881AbfENKdH (ORCPT ); Tue, 14 May 2019 06:33:07 -0400 Received: from [192.168.1.22] ([92.1.197.142]) by smtp.talktalk.net with SMTP id QUk4hInL9WIpcQUk5hwSi6; Tue, 14 May 2019 11:33:05 +0100 X-Originating-IP: [92.1.197.142] X-Spam: 0 X-OAuthority: v=2.3 cv=W6NGqiek c=1 sm=1 tr=0 a=gH7h/AuSNjzKVpz8AWYPeg==:117 a=gH7h/AuSNjzKVpz8AWYPeg==:17 a=jpOVt7BSZ2e4Z31A5e1TngXxSK0=:19 a=IkcTkHD0fZMA:10 a=uPZiAMpXAAAA:8 a=uQ8kCTiQXU9oQEO-c4YA:9 a=QEXdDO2ut3YA:10 Subject: Re: Missing branches after clone To: Duy Nguyen , Ulrich Windl Cc: Git Mailing List References: <5CDA8D37020000A100031319@gwsmtp.uni-regensburg.de> From: Philip Oakley Message-ID: <0c9ec78a-9245-e1df-7ec6-a5d77d1a5261@iee.org> Date: Tue, 14 May 2019 11:33:05 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-GB X-CMAE-Envelope: MS4wfIMV0E4J6UCvVhYn+HjqbIp7U/Rh2aGuIm7aqpi13OfPMosIfkbVwLZxZ7TfDWluZjAjRfcxH2Z5OTvZ4QBxXPY6slf0yU488wEWuT90jRRh/fCVKbjL DFOMDRBDSEcu9eWzVrgX1l02tzU8uD5PQmX2LibWqCy5uGsgvpsVBdYOOQ12KhIze4niN3MigI50MCEh/aFrCQ9leDg/b6W+RmLBwqKPAImRQ7W1zWCkQX5y igbkOTX2ZrTPcRLNrsE1Lg== Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Hi Ulrich, On 14/05/2019 11:12, Duy Nguyen wrote: >> Then I foundhttps://stackoverflow.com/questions/10312521/how-to-fetch-all-git-branches which handles the subject... >> But still the most common solution there still looks like an ugly hack. >> Thus I suggest to improve the man-pages (unless done already) > Yeah I expected to see at least some definition of remote-tracking > branches (vs local ones) but I didn't see one. Room for improvement. Yes, the 'remote tracking branch' name [RTB] is very 'French' in its backwardness (see NATO/OTAN). It is a 'branch which tracks a remote', and it is has the 'last time I looked' state of the branch that is on the remote server, which may have, by now, advanced or changed. So you need to have the three distinct views in your head of 'My branch, held locally', 'my copy of Their branch, from when I last looked', and 'Their branch, on a remote server, in a state I haven't seen recently'. Finding a better name for the "RTB", one with an easier cognitive load for those trying to understand Git, would be an improvement. Though there has been a similar issue with 'staging the index'. Ultimately it is a new way of thinking about artefacts (perfect duplicates, no originals, no master, no copies, just verification hashes) so needs new terms and a difficult learning experience. -- Philip