From Fedora Project Wiki

< User:Liam

Revision as of 06:10, 12 August 2010 by Liam (talk | contribs) (Update Auto Install)

Update Auto Install

Upload the authentication key

  1. [liam@localhost ~]$ pwd
    /home/liam
  2. [liam@localhost autoqa]$ ssh-keygen -t rsa
  3. upload the /home/liam/.ssh/id_rsa.pub to

https://admin.fedoraproject.org/accounts/user/view/liam?_csrf_token=6bf109d302531f5a7a481f295a91e28741e172e8

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. [liam@localhost autoqa]$ pwd
    /home/liam/autoqa
  2. [liam@localhost autoqa]$ git add tests/anaconda/*
  3. [liam@localhost autoqa]$ git commit -a
  4. [liam@localhost autoqa]$ git pull
  5. [liam@localhost autoqa]$ git push origin liam
  6. [liam@localhost autoqa]$ git push ssh://git.fedorahosted.org/git/autoqa.git master

Enter passphrase for key '/home/liam/.ssh/id_rsa':