Is it possible to run a Git hook after adding a file to a project?

Is it pssobile to run a git hook after adding a file? For example, after running:

git add someFile.php

a script would be triggered.

Answers


git help hooks

Will show you all the currently available hooks. As of Git 1.7, there is no hook that's invoked when you add a file, so I'm afraid the answer to your question is "no."


Need Your Help

ML - invalid instruction operands on sar,shl (?)

assembly masm

Getting "error A2070: invalid instruction operands" on the following instructions in assembly code (generated from CL)

Replace Google maps map?

php javascript html google-maps

Is it possible to replace the map that the google maps web applet uses? I mean like replacing a certain URL that the applet retrieves the maps from. Also, what format are they in? Are they all just

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.