Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Image Removed

Excerpt

Git is a distributed version-control system for tracking changes in source code during software development. It is designed for coordinating work among programmers, but it can be used to track changes in any set of files. Its goals include speed, data integrity, and support for distributed, non-linear workflows.


Image Added


If you are familiar with SVN(Subversion) or CVS(Concurrent Version System), you may have no difficulty in using Git.

...

  • Git has a data revision control system in storage level with its version information. And you will be faced an unfamiliar words like fork, clone and branch.
    • A fork is a copy of a repository that allows you to freely experiment with changes without affecting the original project. You can contribute back to the original project using pull requests. Forking is a first step for collaborate with your colleagues.
    • A clone is a copy of all the code on the master branch - it is an exact replica of the code on git server. Unlike forking, you won't be able to pull down changes from the original repository you cloned from, and if the project is owned by someone else you won't be able to contribute back to it unless you are specifically invited as a collaborator. Cloning is ideal to quickly get your own copy of a repository where you may not be contributing to the original project. 
    • A branch is a slightly changed or modified section of code that meets different objectives.
  • git clone command copies an existing Git repository - it is primarily used to point to an existing repo and make a clone or copy of that repo at in a new directory, at another location. The original repository can be located on the local file system or on remote machine accessible supported protocols.
  • git commit goes to local branch.
  • git push goes to remote master.


Followings are useful content can understand about the basic concept of Git at YouTube

Widget Connector
urlhttps://www.youtube.com/watch?v=8KCQe9Pm1kg


Other information

Children Display
excerptTypesimple