Skip to content

Simple utility to run post-clone jobs after git clone.

License

Notifications You must be signed in to change notification settings

ramesaliyev/glone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

glone 🌈

Downloads

Simple utility to run post-clone jobs after git clone.

Built-in features:

  • 🏃‍♀️Run script after cloning is completed.
  • 🔗 Auto install git hooks.

Usage

Create .glone file in your repository.

{
  "install": "install.sh",
  "hooks": {
    "pre-commit" : "./pre-commit.js"
  }
}

Just use npx glone instead of git clone when you're going to clone a repo.

npx glone <repository>

Try it with this repo:

npx glone [email protected]:ramesaliyev/glone.git

API Reference

.glone file

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.

CLI Arguments

npx glone <repository> [directory] -- [other git clone arguments]

Scripts

Your scripts can be any kind of file as long as have correct shebang in it. Check examples folder for example scripts.

About

Simple utility to run post-clone jobs after git clone.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published