Skip to content

Instantly share code, notes, and snippets.

View riccardone's full-sized avatar

Riccardo Di Nuzzo riccardone

View GitHub Profile
@riccardone
riccardone / git_fetch_pull_all_subfolders.sh
Created December 5, 2018 17:52 — forked from mnem/git_fetch_pull_all_subfolders.sh
Simple bash script for fetching and pulling all repos in the executed folder to the latest of the branch they are on
#!/bin/bash
################
# Uncomment if you want the script to always use the scripts
# directory as the folder to look through
#REPOSITORIES="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
REPOSITORIES=`pwd`
IFS=$'\n'