5.02.2008

svn - daily use command for a programmer

  • checkin : clean your code (just keeps the most original code, remove the generated data and codes.
  • checkout : start to go with SVN.
  • update : keep track with main trunk.
  • revert : abandon current changes or revert to history code.
    • show log
  • branch : when someone modify the main trunk, or you just want to keep quite.
  • switch : change the working codes between branch and main trunk
    • repo browser
  • merge : OK, contribute your code and keep track with the main trunk.
    • from - to
    • Eric's merge tool.
  • diff - for arbitrary rev
    • for checked out codes only - show log
  • add files : add some modules files.
    • add then commit
  • delete files : delet some unuses files.
    • sometimes may cause conflicts - file exist.
  • export : if you just want the code.
  • blame : who to blame.
  • conflict and resolved : something not synchronized.. need hand made.

An Example :

Simple Hello code , with ? python ? better with command line build tool (or VS2005 is more attractive to them ?)

沒有留言: