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

investigate pre-push hook. #56

Closed
2 of 3 tasks
technoweenie opened this issue May 31, 2014 · 0 comments · Fixed by #65
Closed
2 of 3 tasks

investigate pre-push hook. #56

technoweenie opened this issue May 31, 2014 · 0 comments · Fixed by #65
Labels

Comments

@technoweenie
Copy link
Contributor

Git 1.8.2 has a pre_push hook. We should use that to run git media push. Let's use that so we don't have to worry about wrapping git push.

The goal is for this to work:

# the smudge filter downloads media files, and installs the hook locally.
$ git clone https://github.com/github/big-repo

# the clean filter queues the file to be uploaded, and installs the hook locally.
# this is useful in case the `clone` didn't have any big media files.
$ git add some-big-file.mov

$ git commit -m "whatevs"
$ git push # runs pre-push
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant