Skip to content

Instantly share code, notes, and snippets.

Avatar

Igor Melker IMelker

  • Voximplant
  • Moscow
View GitHub Profile
@cwsaylor
cwsaylor / syncm.sh
Created Nov 7, 2012
Merge master into current branch
View syncm.sh
#!/bin/sh -x
CURRENT=`git branch | grep "*" | awk '{print $2}'`
git checkout master
git fetch
git merge origin/master
git checkout ${CURRENT}
git merge master ${CURRENT}