We have a git repository in
To use it, send a public key to Fernando or Henrique.
$> ssh-keygen -t rsa -b 2048
Enter a file name and a passphrase (see more about file names at the end of
Two files will be generated:
Move the files to your
~/.ssh folder, and send us the file
Also, edit a
config file in your
If you do not have a
config file there, just create it.
It should contain at least the following lines:
Host git-cuda.dcc.ufmg.br User oldgit IdentityFile /home/users/file_name/.ssh/key Hostname cuda.dcc.ufmg.br
Choosing good file names for the key. We leave all the keys in the same folder, so, choose a name for your key that is likely not to collide with other names that we have there. Tip: imagine which user name you would have in our machine, and use that name for your key.
Using git is fairly easy. Git has a lot of commands, but I guess you will only need these commands below:
$> git clone git-cuda.dcc.ufmg.br:repo_name $> vim file_that_I_will_change.txt $> git add file_that_I_will_change.txt $> git commit $> git push