Christian Mayer's Weblog

Re: Git: ignore file lines


This is a smart solution.

It would be also nice if you could define something like this:

ignore lines N to M in file XYZ

Because most configuration stuff in tiny scripts are at the top of the script. Or if you want to ignore hundreds of lines at once you don’t want to edit each single line.

Example in .gitignore to ignore line 1 to 100 in file script.php:


More Resources

Posted on .
Categories: Commented, Programming
Tags: Git, ignore, Feature

Categories | RSS Feed | Usage | Imprint
Copyright © 2006 by