Skip to content

Instantly share code, notes, and snippets.

View kamjony's full-sized avatar

Md Kamrul Amin kamjony

View GitHub Profile
@sunitparekh
sunitparekh / git-pull-with-rebase-multi-repository-shell-script
Created September 3, 2015 04:38
Shell script to pull latest code from remote git repository for multiple projects
#!/bin/bash
repos=(
"/c/projects/project-1"
"/c/projects/project-2"
"/c/projects/project-3"
)
echo ""
echo "Getting latest for" ${#repos[@]} "repositories using pull --rebase"