Excluding files from commit

MasterAir's Avatar

MasterAir

03 May, 2012 01:25 PM

Hi,

Is there any way to set up a default so that when I commit all files alt-cmd-S that a list of files is, by default, excluded?

For example, my Makefile is under version control, and I want to change it to alter my local build environment, but not commit the changes to the repository in general.

Thanks.

  1. Support Staff 1 Posted by jason on 05 May, 2012 10:47 AM

    jason's Avatar

    At present there is no way to do this. The normal solution is to have a makefile.original which is collectively versioned and then you duplicate that and remove the suffix and you use that locally... Admittedly this need comes up every so often... It would be nice to have a better solution. However, the solutions I could all think of would be a little too complex in terms of explaining things to the user...

    Cheers,
    Jas

  2. jason closed this discussion on 05 May, 2012 10:47 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac