Simple utility to run post-clone jobs after git clone.
Built-in features:
- 🏃♀️Run script after cloning is completed.
- 🔗 Auto install git hooks.
{
"install": "install.sh",
"hooks": {
"pre-commit" : "./pre-commit.js"
}
}
npx glone <repository>
npx glone git@github.com:ramesaliyev/glone.git
| Path | Explanation |
|---|---|
| install | script that should run after git-clone is completed |
| hooks | config for git hooks, glone will copy all of them without any check. |
npx glone <repository> [directory] -- [other git clone arguments]
Your scripts can be any kind of file as long as have correct shebang in it. Check examples folder for example scripts.