| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
As git does not provide a post-clone hook, some repositories come with manual instructions for post-clone configuration. This project effectively provides a post-clone hook, allowing project maintainers to specify a project's post-clone behavior and install other various hooks.
To clone a repository with post-clone hooks:
curl -fsSL https://raw.githubusercontent.com/git-hook/post-clone/master/bin/clone \
| bash -s -- <normal-clone-args>All arguments will be passed directly to git clone.
Tip
If you'd rather not pipe curl to bash, use this approach instead:
git clone https://github.com/git-hook/post-clone /tmp/post-clone
git clone --template=/tmp/post-clone git@github.com:username/repo-of-interestIn addition to cloning the repository, this will:
Note
This hook will not be automatically invoked again.
Using this post-clone template allows repo maintainers to:
This git hook was inspired by this StackOverflow post.
| Back | FazBrowse Home | New Git URL |