Webmaster Forum

Go Back   Webmaster Forum > Web Development > Coding Forum

Coding Forum Problems with your code? Discuss coding issues, including JavaScript, PHP & MySQL, HTML & CSS, Flash & ActionScript, and more.


Reply
 
Thread Tools Display Modes
Share |
  #1  
Old 01-15-2015, 12:05 AM
TechBuddy1 TechBuddy1 is offline
Contributing Member
 
Join Date: 11-04-14
Posts: 51
iTrader: 0 / 0%
Version Control

Hi Folks,

Can any one give me a clear understanding regarding version control.
what are the advantages of version control.

Happy Coding!
 
Reply With Quote

Advertisement

Advertisement

  #2  
Old 01-15-2015, 04:45 PM
Meerkat's Avatar
Meerkat Meerkat is offline
Contributing Member
 
Join Date: 12-30-11
Location: # /England/Hull/
Posts: 65
iTrader: 0 / 0%
Well by using something like Git the advantages are obvious.

Your files are automatically backed up by using Github, or Bitbucket, etc.

You can also see a history of file edits and have the ability of rolling back changes.

You can also have multiple people working on one site/app, etc at any given time.
 
Reply With Quote
  #3  
Old 01-19-2015, 07:30 AM
TechBuddy1 TechBuddy1 is offline
Contributing Member
 
Join Date: 11-04-14
Posts: 51
iTrader: 0 / 0%
Thanks a lot Meerkat
 
Reply With Quote
  #4  
Old 01-19-2015, 01:16 PM
Meerkat's Avatar
Meerkat Meerkat is offline
Contributing Member
 
Join Date: 12-30-11
Location: # /England/Hull/
Posts: 65
iTrader: 0 / 0%
No problem!
 
Reply With Quote
  #5  
Old 01-21-2015, 11:11 AM
pintukennady31 pintukennady31 is offline
Contributing Member
 
Join Date: 11-24-14
Posts: 99
iTrader: 0 / 0%
No idea i am also waiting for some answer.
 
Reply With Quote
  #6  
Old 03-21-2015, 10:37 AM
CleverSurveys CleverSurveys is offline
Junior Member
 
Join Date: 03-19-15
Posts: 21
iTrader: 0 / 0%
Even without the advantages of backing up to a server, version control gives you a sort of peace of mind. You can delete and refactor code, while keeping a reference and means of reverting if you mess something up. Also, if you want to try something experimental, you can create a new branch, and just go back to the old branch if it doesn't work out.

For websites specifically, there's another large advantage. If you're pushing out a new patch, keep the old stable version in a different branch. If something goes wrong with the patch, just revert production to the stable branch. You'll still have your new patch, and can fix the bugs before trying again, without having to rush to fix the production code.
 
Reply With Quote
  #7  
Old 04-02-2015, 07:10 PM
TerryMason TerryMason is offline
Contributing Member
 
Join Date: 12-31-08
Posts: 51
iTrader: 0 / 0%
I coded for years, just keeping a bunch of folders on my computer - I normally named each folder with the date, and the version of software. Then, I setup an SVN on my linux server / host, and installed tortoiseSVN on my laptop, home, and work computers.

IT IS SO MUCH BETTER!

You just right click on the local folder (say on your desktop) and tell it to update. You pull the latest changes from the server, do some work, then upload the changes. You then pop on your laptop and do the same thing, without having to worry about finding the latest version.

You can make changes on multiple machines, and the SVN will point out the differences.
No more accidentally overwriting / losing your work.
You can easily (side by side) compare the current version for the only 3 months ago.

It just makes coding so much easier.
 
Reply With Quote
Go Back   Webmaster Forum > Web Development > Coding Forum

Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Dreamweaver student version vs full version pin2012 Web Design Lobby 3 11-19-2012 10:00 AM
Good Reason For Population Control (Birth Control) Allen Farlow Controversial Social Issues 11 02-19-2010 09:27 AM
where i can trade japanese version windows to english version brealmz Tech Talk 2 06-20-2007 06:27 AM


V7N Network
Get exposure! V7N I Love Photography V7N SEO Blog V7N Directory


All times are GMT -7. The time now is 06:04 AM.
Powered by vBulletin
Copyright 2000-2014 Jelsoft Enterprises Limited.
Copyright © 2003 - 2018 VIX-WomensForum LLC