Wednesday 22 February 2017

Git & GitLab Repository

What is Git?


Git is a version control system (VCS) for tracking changes in computer files and coordinating work on those files among multiple people. It us primarily used for software development, however it can also be used in tracking changes in any files. Git also one if the most widely used VCS in developer world. Git is a mature, actively maintained open source project originally developed in 2005 by Linus Torvalds, the famous creator of the Linux operating system kernel. A staggering number of software projects rely on Git for version control, including commercial projects as well as open source. Developers who have worked with Git are well represented in the pool of available software development talent and it works well on a wide range of operating systems and IDEs (Integrated Development Environments). Git has the functionality, performance, security and flexibility that most teams and individual developers need. These attributes of Git are detailed above. In side-by-side comparisons with most other alternatives, many teams find that Git is very favorable.


Git as Open Source Project


Git is a very well supported open source project with over a decade of solid stewardship. The project maintainers have shown balanced judgment and a mature approach to meeting the long term needs of its users with regular releases that improve usability and functionality. The quality of the open source software is easily scrutinized and countless businesses rely heavily on that quality. Being open source lowers the cost for hobbyist developers as they can use Git without paying a fee. For use in open-source projects, Git is undoubtedly the successor to the previous generations of successful open source version control systems, SVN and CVS.



How to clone a git repository using CMD?


1. Install Git Bash in your pc. 

2. Open Git Bash.

3. Change the current working directory to the location where you want the cloned directory to be  made.  Type git clone, and then paste the URL you copied in Step 2.


git clone https://github.com/YOUR-USERNAME/YOUR-REPOSITORY

4. Enter. Your local clone will be created.
git clone https://github.com/YOUR-USERNAME/YOUR-REPOSITORY
Cloning into `Spoon-Knife`...
remote: Counting objects: 10, done.
remote: Compressing objects: 100% (8/8), done.
remove: Total 10 (delta 1), reused 10 (delta 1)
Unpacking objects: 100% (10/10), done.

No comments:

Post a Comment