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

Re: making a branch with just one file and keeping its whole history

From
EREric Raible <raible@gmail.com>
Date
Jul 21, 2008, 16:19 UTC
Message-ID
<loom.20080721T161926-61@post.gmane.org>
In-Reply-To
<20080721061804.223f7801@mail.tin.it>
 <ncrfgs <at> tin.it> writes:
Show 5 quoted lines
> 
> Hi,
> 
> I have a working local repository and I'd like to make a branch with just one
> file (let's say path2/filename2) and to keep its whole history.
http://www.gitcasts.com/posts/empty-branches
- Eric
Previous: ncrfgs@tin.itNext: Johannes Schindelin
Message 2 of 7 in “making a branch with just one file and keeping its whole history”
  1. ncrfgs@tin.itJul 21, 2008
  2. Eric RaibleJul 21, 2008
  3. Johannes SchindelinJul 21, 2008
  4. Eric RaibleJul 21, 2008
  5. Johannes SchindelinJul 21, 2008
  6. extracting the history of a single file as a new project [Was: Re: making a branch with just one file and keeping its whole]ncrfgs@tin.it, Jul 22, 2008
  7. Sverre RabbelierJul 22, 2008

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.