git/list[1] front-page[2] threads[3] people[4] search[5] about
 

File missing from git branch

From
PPPrasad Pandit <pjp@fedoraproject.org>
Date
Dec 31, 2024, 11:19 UTC
Message-ID
<1964163554.5326830.1735643984559@mail.yahoo.com>
In-Reply-To
<1964163554.5326830.1735643984559.ref@mail.yahoo.com>
Hi,
Kernel-ark -> https://gitlab.com/cki-project/kernel-ark/
* I have forked the kernel-ark git repository. The forked tree is regularly updated by pulling commits from its upstream repository above. I have added/committed couple of config files under '../arch/x86/configs/' directory in the forked tree, not in the above upstream repository. Let's say
   Fork was created on - day-0
   Files were added on - day-1
   Updates are pulled  - day-2, day-3, day-4 ... day-n
* The issue is: the config files I added are visible only in the main (os-build) branch. If I create a new branch with
   $ git branch new-branch <commit-hash/merge-hash/commit-tag/>
Those config files are not visible/accessible under '../arch/x86/configs' directory.
   Note => Files are added and branches are created on the same forked tree.
* Generally committed local changes are visible across local branches, right? Is there a way to see/access those locally added files across local branches?
* Is there a different way to do this?
Thank you.
---
  -Prasad
Next: Junio C Hamano
Message 1 of 5 in “File missing from git branch”
  1. Prasad PanditDec 31, 2024
  2. Junio C HamanoJan 1, 2025
  3. Prasad PanditJan 2, 2025
  4. Chris TorekJan 2, 2025
  5. Prasad PanditJan 3, 2025

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.