Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for a pre-smart-pull hook #27

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sufyanadam
Copy link

@sufyanadam sufyanadam commented Aug 12, 2015

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.

User can create and 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant