version control - How should I organize files in VCS? -


i'm making website , making multiple design prototypes. want keep of them future reference.

  1. is suitable place use branches, or should put them in folders?
  2. how should manage external dependencies (e.g. jquery), should include minified version every design or keep 1 whole project or link online version?

branches fine if:

that won't prevent top deploy in different directories (you checkout each branch in different folder on web server)

any common part (like jquery script) should in sub-directory versioned in own repo , referenced main web repo submodule.


Comments

Popular posts from this blog

JQuery Autocomplete without using label, value, id -

c++ - Accessing inactive union member and undefined behavior? -

JAVA - what is the difference between void and boolean methods? -