dotSoftwaredotDevelopmentdotCustomersdotAbout us
PushOk logoblank
fast linksFast Links
news&eventsnews and events

2012-12-21 
Major update of SVNCOM version 1.7.2 are finaly released

2012-12-21 
Major update of SVN SCC plug-in - versions 1.7.2 are finaly released

Lightweight embedded Node.js database with MongoDB API.

GIT basics

Search go
PushOk Logo blank
leftGIT basicsright

Before GIT installation and starting work, you have to learn some special terms which you will come across in your work. Let us get acquainted with them according to their importance.

Repository

Repository is a place for storing data that are under control. Mind that they are not the data you work with on your disk. The repository is located into ".git" folder in the root folder of your project. The repository itself is any folders and files having specific structure and storing files of special types.

GIT URL

GIT URL is a string of a special format specifying the address of the repository which you connect to for synchronization. GIT URL has the following lite format:
(protocol)://[user@](servername)[:port]/(path)

  • (protocol) is a way of connecting to GIT server.
    • file - the repository is located in a local or network file system.
    • git - native (internal) protocol.
    • ssh - the default transport protocol over the network. You can optionally specify which user to log-in as, and an alternate, scp-like syntax is also supported. Both syntaxes support username expansion, as does the native git protocol, but only the former supports port specification.
    • http - protocol enabling access to GIT services through the apache web server. In this case GIT is an apache module. Its advantage over git protocol is data transferring according to standard http-protocol and absence of problems with firewalls.
    • https - similar to http, but with encoded data transmission.
    • rsync - protocol synchronization with minimizing data transfer, realized by the rsyncd daemon.
  • (servername) - a host name of remote client. For the file protocol it is empty, and GIT URL looks like file:///(path_on_local). That is, GIT URL contains 3 slashes one after another.
  • (path) - a path at the remote client or at the local disk.
Examples of correct GIT URLs:
  • file:///C:/git/repository - local repository
  • git://local.pushok.com/git - remote repository

You can learn more about GIT URL's here - GIT URL's


You are 9528345 visitor since 20 Jan 2003.
760 visitors today and 1 online right now.
blank left to top right blank

© Copyright by PushOk Software, 2003-2024, webmaster@pushok.com