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

3 messages, 3 authors, 2016-06-15 · open the first message on its own page

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

From: Alexey Homyakov <hidden>
Date: 2016-06-15 22:50:49

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
................


It's easy to make git understand all possibly comments definitions.

Thanx.

-- 
С уважением,
Алексей.

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

From: Nguyen Thai Ngoc Duy <hidden>
Date: 2016-06-15 22:50:49

2011/3/19 Alexey Homyakov [off-list ref]:
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

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

From: Michael J Gruber <hidden>
Date: 2016-06-15 22:50:50

Nguyen Thai Ngoc Duy venit, vidit, dixit 19.03.2011 13:30:
2011/3/19 Alexey Homyakov [off-list ref]:
quoted
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.
This can be done using a "clean" filter already. For example, for
tracking my global git configuration, I use

[filter "dotgitk"]
        clean = fgrep -v geometry

and specify

.gitk   filter=dotgitk

for the attributes.

Cheers,
Michael
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help