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

Hooks #66

Open
aanand opened this issue Jan 15, 2014 · 0 comments
Open

Hooks #66

aanand opened this issue Jan 15, 2014 · 0 comments

Comments

@aanand
Copy link
Owner

aanand commented Jan 15, 2014

Lots of requested git-up features would be covered by a generic, language-agnostic hook system, e.g.

git config --global git-up.hooks.run.before "echo 'I run before git-up does anything'"
git config --global git-up.hooks.switch.after "echo 'I run after git-up has switched branches'"
git config --global git-up.hooks.rebase.after "echo 'I run after git-up has rebased a branch'"

and so on. Relevant arguments, (such as which branch was switched to, relevant commit hashes in the case of rebase etc) should be passed in as arguments (so they're available as $1, $2 etc).

This issue is a placeholder for fleshing out a spec for them, and referring people who request features.

Sadly, I don't have a lot of time to implement this, but if you agree that it'd be cool, either show your support here or take a crack yourself.

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

No branches or pull requests

1 participant