Skip to content

Instantly share code, notes, and snippets.

View Sam123ben's full-sized avatar

Samyak Rout Sam123ben

View GitHub Profile
package ca.uwo.csd.cs2212.USERNAME;
public class BankAccount {
private double balance;
public BankAccount(double balance) {
this.balance = balance;
}
@Sam123ben
Sam123ben / GIT vs SVN
Created April 28, 2014 09:43
Basic differences between GIT and SVN
I would like to list out some of the points that differentiates GIT from SVN as a Version Control tool.
1. Basic difference between the above mentioned tools are that SVN is a Centralized and GIT is a Distributed version control tool.
2. Commit happens atomic in nature for SVN where as for GIT it's more like file versioning happens with every commit.
3. GIT versions by storing the contents of the files for tracking history where as in SVN the basic data storage is done by creating a differences between the individual files for each change.
4. GIT stores every changes in any of its sub-directories of its project structure within the .git folder that gets created only on the parent folder of the project structure where the git initialized a new git repository where as in SVN the .svn will be created in every sub-directories within the project structure to store the metadatas of each and every file and folder.