Skip to content

Instantly share code, notes, and snippets.

View greatbody's full-sized avatar

Rui Sun greatbody

View GitHub Profile
@greatbody
greatbody / pull-git-folders.sh
Last active January 15, 2019 03:19
Say you have a project with many repos and you can run this scripts to pull all git repos inside a folder
#!/bin/sh
red=`tput setaf 1`
green=`tput setaf 2`
reset=`tput sgr0`
echo_green()
{
echo "${green}$1${reset}"
}