Comparison between Centralized and Distributed Version Control Systems [closed]

From my answer to a different question: Distributed version control systems (DVCSs) solve different problems than Centralized VCSs. Comparing them is like comparing hammers and screwdrivers. Centralized VCS systems are designed with the intent that there is One True Source that is Blessed, and therefore Good. All developers work (checkout) from that source, and then … Read more

git: switch branch without detaching head

# first time: make origin/branchname locally available as localname git checkout -b localname origin/branchname # othertimes git checkout localname git push origin For convenience, you may use the same string for localname & branchname When you checked out origin/branchname you weren’t really checking out a branch. origin/branchname is a “remote” name, and you can get … Read more