Ok thanks !

On Jul 18, 12:44 am, Konstantin Khomoutov
<flatw...@users.sourceforge.net> wrote:
> On Tue, Jul 17, 2012 at 01:31:53PM -0700, durium wrote:
> > I was wondering if it was possible for git to automatically commit a file
> > with the same commit message.
> > As a matter of fact, i work with code::blocks and this one generates .cbp &
> > .layouts file those are files that should be included in the project
> > (especially cbp files).
> > However, those files are often changed  (especially layout files) and don't
> > need anything else than the same message (especially layout files).
> > Thus my question !
> There's no such thing as "committing a file" in Git.
> Commits are made of arbitrary changes to arbitrary files.
> Which changes made to which files will comprise the next commit, is
> decided by the user each time the commit is being prepared.
> So your question per se does not make much sense.
> If you really meant a very narrow use case (you have a clean work tree,
> then you run something wich regenerates a set of files, then you want to
> commit *only the changes to these files* with a fixed commit message)
> then it's a perfect case for a script or a Git alias.

You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To post to this group, send email to git-users@googlegroups.com.
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to