Commando.io Commando.io is a simpler way to manage servers online. This is a public bash recipe. Recipes are containers of commands that are fully versioned written in bash, terraform, perl, python, ruby, go, or node.js. Recipes are like GitHub gists, but executable on groups of servers via SSH.

GIT CLONE OR PULL PUBLIC

rec_HmZki548a2eb7e6f037Rc
Link and share this recipe
12 versions.
Automatically clone or pull a git repository `GIT_URL`. If the directory `REPO_PATH` does not exist it does a clone, otherwise it does a pull. **BASE_PATH:** The full path to the **base** directory where the repository exists. **REPO_PATH:** The full path to the repository *(including the repository name itself)*. **GIT_URL:** A git url *(can be ssh or http format)*. **REMOTE:** The git remote to use. **BRANCH:** The git branch to use.