Skip to content

nespino/post-pull-git-hook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Post pull git hook

Post pull git hook is shared as an example on how to create a git hook that takes an action after pulling (actually merging). The example given:

  • Checks for changes in "static/" folder
  • If finds any change during the last pull/merge, it increments the number in a file
  • Updates the registry of the last head to the current

How to install

  • copy post-merge file to the .git/hooks folder in your repo
  • give it run permission:

chmod +x .git/hooks/post-merge

License


GNU General Public License

About

Post pull git hook - detect change and take action

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages