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

Re: The way to make work with git a bit more easier.

From
Nguyen Thai Ngoc Duy <pclouds@gmail.com>
Date
Mar 19, 2011, 12:30 UTC
Message-ID
<AANLkTik3_tE6DdCQkS5ssqB9OBBNSvj5KO3WK=0Vj4YG@mail.gmail.com>
In-Reply-To
<AANLkTimrYGXQ_wWrj-Sr3UB9YbddW613oebddUoLat7b@mail.gmail.com>
2011/3/19 Alexey Homyakov <alexey.homyakov@gmail.com>:
Show 17 quoted lines
> Hi, guys, i'm enjoy to work with git, but think it's possibly to make
> one of the operation more easier.
> What do you mean about mark a parts of files which don't need to be
> tracked by git once instead using interactive adding each time?
> For example using statement in comments like this:
>
> ................
> tracked part
> ...............
> //@git off
> ...............
> untracked part
> ...............
> //@git on
> ................
> track again
> ................

That's interesting, provided that this is only enabled by command argument (i.e. never activated by default). Another option is to make "git add -p" only show chunks that match a pattern.

-- 
Duy
Previous: Alexey HomyakovNext: Michael J Gruber
Message 2 of 3 in “The way to make work with git a bit more easier.”
  1. Alexey HomyakovMar 19, 2011
  2. Nguyen Thai Ngoc DuyMar 19, 2011
  3. Michael J GruberMar 21, 2011

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.