Difference between revisions of "Using git source control"

From CsWiki
Jump to: navigation, search
(added link to revision control)
m
 
Line 14: Line 14:
  
 
After you do it, the remote repository is saved and you don't need this long address again. You can further reduce the need for your CS password when communicating with the repository by setting a [http://pkeck.myweb.uga.edu/ssh/ ssh key]
 
After you do it, the remote repository is saved and you don't need this long address again. You can further reduce the need for your CS password when communicating with the repository by setting a [http://pkeck.myweb.uga.edu/ssh/ ssh key]
 +
[[category:Source Control]]

Latest revision as of 21:37, 22 March 2017

Git source control

Git is a source control system (like SVN, CVS and others) which is both very strong and enables work without connection to a server. You can read about it in Wikipedia.

Using git with ssh

If you set up a git repository on the university servers and want to access it from outside, you should first set up ssh tunneling as described in Scp and Revision control. After that you can clone the repository to you machine (in a new terminal on your local machine, while the ssh terminal stays open):

   git clone ssh://user@localhost:22222/path-to-repo

You will need another OTP for this operation.

After you do it, the remote repository is saved and you don't need this long address again. You can further reduce the need for your CS password when communicating with the repository by setting a ssh key