Technology Experiments

My experiments with different technologies.

Monday, June 22, 2015

Git command

 to delete all branched other than master:
git branch | grep -v master | xargs git branch -D

to reset master:
git reset --hard origin/master



Posted by Unknown
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

No comments:

Post a Comment

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

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Blog Archive

  • ►  2018 (1)
    • ►  March (1)
  • ►  2016 (3)
    • ►  July (2)
    • ►  May (1)
  • ▼  2015 (20)
    • ►  December (4)
    • ►  September (2)
    • ►  July (4)
    • ▼  June (4)
      • Working with #Genymotion - Some tips
      • Git command
      • Working with Node.js server
      • Proguard change to remove only the log files from ...
    • ►  May (1)
    • ►  April (4)
    • ►  January (1)
  • ►  2014 (11)
    • ►  November (5)
    • ►  October (1)
    • ►  September (2)
    • ►  August (2)
    • ►  April (1)
  • ►  2013 (1)
    • ►  May (1)
  • ►  2012 (1)
    • ►  November (1)
  • ►  2011 (2)
    • ►  March (2)
  • ►  2010 (2)
    • ►  June (2)