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
You are viewing an old version of 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 itself)*. **GIT_URL:** A git url *(can be ssh or http format)*.