Skip to content

Instantly share code, notes, and snippets.

@nyarly
Created January 29, 2014 01:48
Show Gist options
  • Save nyarly/8680268 to your computer and use it in GitHub Desktop.
Save nyarly/8680268 to your computer and use it in GitHub Desktop.
#!/bin/env bash
git branch savepoint
for branch in $*; do
echo "git pull $(echo $branch | sed 's#/# #')" >> .git/merges.sh
done
source .git/merges.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment