Re: File missing from git branch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wednesday 1 January, 2025 at 10:24:08 pm IST, Junio C Hamano <gitster@xxxxxxxxx> 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





[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux