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

Commits on Aug 12, 2015

  1. Add support for a pre-smart-pull hook

    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.
    Pablo Kang and Sufyan Adam committed Aug 12, 2015
    Configuration menu
    Copy the full SHA
    c233606 View commit details
    Browse the repository at this point in the history