git - How do I use GitHub to create version 2 of a repository, but keep both versions active? -


i have repository small group of files in. script used number of live websites.

i want create 'version 2' of repository, or make updates (e.g. version 2), key thing want introduce version 2 small number of live websites initially.

would case of creating 'version 2' branch? doesn't sound right may want keep both versions around forever , see 'branch' arm developing feature - , merge in master when completed.

i want websites using tried , tested original, whilst test new one.

also, how ensure web server had files required 'version'? might mean setting git on web server downloads version, or there better way?

imo, it's fine use branch alternate version. i'd suggest - create branch.

to right version on "other" web servers simple git checkout version2 onto right branch (assuming you've got full copy of repo on each web server - if you're deploying in other way, you'll need give details...)


Comments

Popular posts from this blog

PHPMotion implementation - URL based videos (Hosted on separate location) -

javascript - Using Windows Media Player as video fallback for video tag -

c# - Unity IoC Lifetime per HttpRequest for UserStore -