Ana içeriğe atla

Kayıtlar

Kasım, 2017 tarihine ait yayınlar gösteriliyor

GIT Version Control Tool

This article contains basic commands and usage information of GIT version control tool. GIT is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency. Version control is a system that records changes to a file or set of files over time so that you can recall specific versions later.


You can download and install GIT from https://git-scm.com/download/win. After installation, open git bash from Windows start menu. Just click on your new “Git Shell (or Bash)” Icon and type git commands in the Git “MINGW32” Terminal window.

Initializing a Repository in an Existing Directory

$ cd yourDirectory

$ git init


Start Version Control of Existing File

$ git add myfile.c  //staging modified files

$ git commit -m 'intial project version'


$ git pull origin   //Pull the updates from repository.
$ git push  //Send updates to the repository.
Get a Copy of an Existing Git Repository

$ git clone https://github.com/a…