Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Jul 29th, 2012  |  syntax: None  |  size: 0.27 KB  |  hits: 14  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. how to get my git repo to a server downloaded state without any of my changes
  2. $ cd (project-directory)
  3.  $ git init
  4.  $ (add some files)
  5.  $ git add .
  6.  $ git commit -m 'Initial commit'
  7.        
  8. git reset --hard HEAD
  9.        
  10. make clobber
  11. repo forall -c git reset --hard
  12. repo sync -j8