Git
-
Upload
shubham-chaudhary -
Category
Education
-
view
99 -
download
0
description
Transcript of Git
- 1. 1 HowtogetsomewherewhenyouHowtogetsomewherewhenyou don'tknowwhat'saheaddon'tknowwhat'sahead
2. 2 VersionControlVersionControl 3. 3 VersioncontrolisasystemthatVersioncontrolisasystemthat recordschangestoafileorsetrecordschangestoafileorset offilesovertimesothatyoucanoffilesovertimesothatyoucan recallspecificversionslater.recallspecificversionslater. 4. 4 Local Version Control Systems 5. 5 Centralized Version Control Systems 6. 6 Distributed Version Control Systems 7. 7 AVCSallowsyouto:AVCSallowsyouto: Revertfilesbacktoapreviousstate.Revertfilesbacktoapreviousstate. ReverttheentireprojectbacktoaReverttheentireprojectbacktoa previousstate.previousstate. Reviewchangesmadeovertime.Reviewchangesmadeovertime. SeewholastmodifiedsomethingthatSeewholastmodifiedsomethingthat mightbecausingaproblem.mightbecausingaproblem. 8. 8 Wheredoesgitcomein?Wheredoesgitcomein? 9. 9 In2005,LinusTorvaldscameoutwithIn2005,LinusTorvaldscameoutwith git,thusreplacingBitkeepeer.git,thusreplacingBitkeepeer. 10. 10 Priorto2002,LinuxkernelPriorto2002,Linuxkernel maintainancewascarriedoutusingmaintainancewascarriedoutusing patchesandarchivedfiles.patchesandarchivedfiles. In2002,theLinuxkernelprojectIn2002,theLinuxkernelproject beganusingaproprietaryDVCScalledbeganusingaproprietaryDVCScalled Bitkeeper.Bitkeeper. 11. 11 FeaturesFeatures SpeedSpeed SimpledesignSimpledesign StrongsupportfornonlineardevelopmentStrongsupportfornonlineardevelopment (thousandsofparallelbranches)(thousandsofparallelbranches) FullydistributedFullydistributed AbletohandlelargeprojectsliketheLinuxAbletohandlelargeprojectsliketheLinux kernelefficiently(speedanddatasize)kernelefficiently(speedanddatasize) 12. 12 Resources SearchforprogitandSearchforprogitand downloadthebookdownloadthebook