Skip to content

Instantly share code, notes, and snippets.

@offby1
Created September 27, 2016 18:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save offby1/0683832cf03c0aada1c4fd8d588be7c8 to your computer and use it in GitHub Desktop.
Save offby1/0683832cf03c0aada1c4fd8d588be7c8 to your computer and use it in GitHub Desktop.
eh? why?
$ for p in A B C; do (cd ~/git-repositories/$p; git checkout -b new-branch); done
Branch new-branch set up to track local branch master.
Switched to a new branch 'new-branch'
Branch new-branch set up to track local branch master by rebasing.
Switched to a new branch 'new-branch'
Branch new-branch set up to track local branch master.
Switched to a new branch 'new-branch'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment