git-smart icon indicating copy to clipboard operation
git-smart copied to clipboard

Add support for a pre-smart-pull hook

Open sufyanadam opened this issue 9 years ago • 0 comments

User can create an executable script in .git/hooks/smart-pull-pre-fetch that will be executed just before a fetch.

Example: There are tags in remote that need to be cleaned out. One team member cleans them out but then they come back the next time someone else pushes a local tag before syncing local tags to remote. A solution to this problem is to create a smart-pull-pre-fetch hook that syncs local tags to remote tags, so that old tags previously deleted on remote don't come back.

sufyanadam avatar Aug 12 '15 20:08 sufyanadam