From: Prasad Pandit Date: Thu, 02 Jan 2025 10:11:12 GMT Subject: Re: File missing from git branch Message-ID: <2075804114.5670956.1735812672910@mail.yahoo.com> In-Reply-To: On Wednesday 1 January, 2025 at 10:24:08 pm IST, Junio C Hamano wrote:  >> * Generally committed local changes are visible across local branches, right? > >Not at all. > >In fact, the contents on branch A is unmolested by the act of >committing changes on branch B.  They are independent lines of >development.  Otherwise your version control system is broken. > * Sorry, my question was wrong. Let's say     day-0:       - Fork is created     day-1:       - upstream commits pulled into 'main' branch       - new files are committed into 'main' branch     day-2:       - upstream commits pulled into 'main' branch        - 'new-branch-1' created from 'main' branch     day-3:       - upstream commits pulled into 'main' branch       - 'new-branch-2' created from 'main' branch     ...     day-n       - upstream commits pulled into 'main' branch       - 'new-branch-n' created from 'main' branch * Generally committed local changes are visible across _new_ branches created from the local branch, right? ie. 'new-branch-1', 'new-branch-2', 'new-branch-n' all created from the 'main' branch, should have the files which were committed into 'main' branch on day-1, right? That is not happening. Thank you. ---   -Prasad