From Fedora Project Wiki
No edit summary
No edit summary
Line 22: Line 22:
#:Enter passphrase for key '/home/liam/.ssh/id_rsa':
#:Enter passphrase for key '/home/liam/.ssh/id_rsa':
'''More git reference'''
'''More git reference'''
http://www.kernel.org/pub/software/scm/git/docs/v1.2.6/tutorial.html
#[http://www.kernel.org/pub/software/scm/git/docs/v1.2.6/tutorial.html git tutorial introduction]

Revision as of 06:36, 12 August 2010

Update Auto Install

Upload the authentication key

  1. $ pwd
    /home/liam
  2. $ ssh-keygen -t rsa
  3. Get an account and upload the /home/liam/.ssh/id_rsa.pub to https://admin.fedoraproject.org/accounts/login

Clone the source code

  1. git clone ssh://git.fedorahosted.org/git/autoqa.git

Configure name and email

  1. $ git config -f $HOME/.gitconfig user.name "Liam Li"
  2. $ git config -f $HOME/.gitconfig user.email "lili@redhat.com"

Add files

  1. $ pwd
    /home/liam/autoqa
  2. $ git add tests/anaconda/*
  3. $ git commit -a
  4. $ git pull
  5. $ git push origin liam
  6. $ git push ssh://git.fedorahosted.org/git/autoqa.git master
    Enter passphrase for key '/home/liam/.ssh/id_rsa':

More git reference

  1. git tutorial introduction