Sunday, December 25, 2016 5:16:43 PM
- There’s an interesting story on the origins of GIT -> Linus Torvalds the legendary creator of Linux became fed up with managing the Linux source code within a large development team. All the alternatives seemed to not live up to his high standards and needs. So what did he do? Being the prolific developer he is, he wrote up GIT all by himself, open sourced it and the rest as they say is history.
- GIT is basically a version control system (SCM - source code management) to manage code repositories (repo). github.com is a hosting service that stores GIT based repositories on the internet for easy access.
- Every repository will have a main contributor and a name. Users can either watch it, star it or fork it. Also you can track the number commits that have been made, total contributors, total branches and releases.
- Do you want to contribute to a repo? Do a pull request, if its accepted, create a branch, make the changes then merge it back to the master and of course subject to approval will be part of the main repo.
- Something wrong with a repo? Look at the issues being tracked currently or create a new one if needed and watch the discussion around it.
- Before Git —> SCSS, RCS, CVS, SVN (Tracks entire directory), Bit keeper (Not open source)
- Git is based on the central idea of distributed version control where each user or team will have a copy of the entire repository as opposed to previous ideas of one central copy.
- Track changes, not versions using change sets & patches. Every repo will have a set of change sets that were done to it.