GIT IN INDUSTRY Companies and projects currently using Git Google Android

Git in industry companies and projects currently

This preview shows page 40 - 50 out of 77 pages.

GIT IN INDUSTRYCompanies and projects currently using GitGoogleAndroidFacebookMicrosoftNetflixLinuxRuby on RailsGnomeKDEEclipseX.org40
Background image
GIT BASICSSnapshots, not changesA picture of what all your files look like at that momentIf a file has not changed, store a referenceNearly every operation is localBrowsing the history of projectSee changes between two versions41
Background image
WHY GIT IS BETTERGit tracks the content rather than the filesBranches are lightweight, and merging is a simple processAllows for a more streamlined offline development processRepositories are smaller in size and are stored in a single .gitdirectoryAllows for advanced staging operations, and the use of stashing when working through troublesome sections42
Background image
WHAT ABOUT SVN?Linus TorvaldsSubversion has been the most pointless project ever started … Subversion used to say CVS done right: with that slogan there is nowhere you can go. There is no way to do CVS right … If you like using CVS, you should be in some kind of mental institution or somewhere else.43
Background image
GIT VS {CVS, SVN, …}Why you should care:Many places use legacy systems that will cause problems in the future – be the change you believe in!Git is muchfaster than SVN:Coded in C, which allows for a great amount of optimizationAccomplishes much of the logic client side, thereby reducing time needed for communicationDeveloped to work on the Linux kernel, so that large project manipulation is at the forefront of the benchmarks44
Background image
GIT VS {CVS, SVN, …}Speed benchmarks:Benchmarks performed by 45
Background image
GIT VS {CVS, SVN, …}Git is significantly smaller than SVNAll files are contained in a small decentralized .git fileIn the case of Mozilla’s projects, a Git repository was 30 times smaller than an identical SVN repositoryEntire Linux kernel with 5 years of versioning contained in a single 1 GB .git fileSVN carries two complete copies of each file, while Git maintains a simple and separate 100 bytes of data per file, noting changes and supporting operationsNice because you can (and do!) store the whole thing locally46
Background image
GIT VS {CVS, SVN, …}Git is more securethan SVNAll commits are uniquely hashed for both security and indexing purposesCommits can be authenticated through numerous meansIn the case of SSH commits, a key may be provided by both the client and server to guarantee authenticity and prevent against unauthorized access47
Background image
GIT VS {CVS, SVN, …}Git is decentralized:Each user contains an individual repository and can check commits against itself, allowing for detailed local revisioningBeing decentralized allows for easy replication and deploymentIn this case, SVN relies on a single centralized repository and is unusable without48
Background image
GIT VS {CVS, SVN, …}Git is flexible:Due to it’s decentralized nature, git commits can be stored locally, or committed through HTTP, SSH, FTP, or even by EmailNo need for a centralized repositoryDeveloped as a command line utility, which allows a large amount of features to be built and customized on top of it49
Background image
Image of page 50

You've reached the end of your free preview.

Want to read all 77 pages?

  • Spring '17
  • John P. Dickerson
  • Revision control, Comparison of revision control software, Concurrent Versions System

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture