Kevin's Adventures

A Small Personal Weblog documenting my Hacks, Opinions, Gripes, Random Drunken student antics and bad spelling.

Pages

  • Home
  • About Kevin Morton
  • Tools and Projects
  • Downloads
  • Contact me

Tuesday, 1 December 2015

Checkout remote branch and track


for branch in `git branch -a | grep remotes | grep -v HEAD | grep -v master `; do
 git branch --track ${branch#remotes/origin/} $branch
done

Posted by kev at 15:26

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Fun Box

Show text-ads on your Website or Blog with BidVertiser.

My Other Stuff

  • ncast.io the channel of the web
  • Iam Feed
  • Imgious the fast and simple image hosting site
  • Yakire Tv online video hosting
  • Blink Web Media UK Web design
  • Hackoblog

Blog Archive

  • ►  2023 (1)
    • ►  March (1)
  • ►  2022 (1)
    • ►  May (1)
  • ►  2021 (1)
    • ►  November (1)
  • ►  2017 (3)
    • ►  April (1)
    • ►  March (2)
  • ►  2016 (6)
    • ►  April (3)
    • ►  February (2)
    • ►  January (1)
  • ▼  2015 (5)
    • ▼  December (2)
      • ncast.io the channel of the web
      • Checkout remote branch and track
    • ►  September (3)
  • ►  2013 (5)
    • ►  September (1)
    • ►  May (1)
    • ►  April (3)
  • ►  2012 (7)
    • ►  June (1)
    • ►  April (1)
    • ►  February (4)
    • ►  January (1)
  • ►  2011 (24)
    • ►  December (1)
    • ►  June (1)
    • ►  May (2)
    • ►  April (6)
    • ►  March (4)
    • ►  February (7)
    • ►  January (3)
  • ►  2010 (31)
    • ►  December (4)
    • ►  November (8)
    • ►  October (7)
    • ►  September (7)
    • ►  August (3)
    • ►  July (1)
    • ►  May (1)
Theme images by touring. Powered by Blogger.