Monday, December 10, 2012

git ignore using Tower.

Click the right button on the file you want to ignore.

ScreenShot2012-12-10at11.52.55AM-2-2012-12-10-11-53.png

You need to check “Only ignore locally”. It makes the change in .git/info/exclude file.

PastedGraphic9-2012-12-10-11-53.png

PastedGraphic10-2012-12-10-11-53.png

See the file is added.

PastedGraphic11-2012-12-10-11-53.png

The other option is storing the ignore files in .gitignore.

PastedGraphic12-2012-12-10-11-53.png

In this case, the ~/.gitignore file is updated to reflect the changes.

No comments:

Post a Comment