From Fedora Project Wiki
Line 1: Line 1:
 
== Update Auto Install ==  
 
== Update Auto Install ==  
 
'''Upload the authentication key'''
 
'''Upload the authentication key'''
#[liam@localhost ~]$ pwd
+
#$ pwd
 
#: /home/liam
 
#: /home/liam
#[liam@localhost ~]$ ssh-keygen -t rsa
+
#$ ssh-keygen -t rsa
 
#upload the /home/liam/.ssh/id_rsa.pub  to
 
#upload the /home/liam/.ssh/id_rsa.pub  to
 
https://admin.fedoraproject.org/accounts/user/view/liam?_csrf_token=6bf109d302531f5a7a481f295a91e28741e172e8
 
https://admin.fedoraproject.org/accounts/user/view/liam?_csrf_token=6bf109d302531f5a7a481f295a91e28741e172e8
Line 15: Line 15:
  
 
'''Add files'''
 
'''Add files'''
#[liam@localhost autoqa]$ pwd
+
#$ pwd
 
#: /home/liam/autoqa
 
#: /home/liam/autoqa
#[liam@localhost autoqa]$ git add tests/anaconda/*
+
#$ git add tests/anaconda/*
# [liam@localhost autoqa]$ git commit -a
+
#$ git commit -a
# [liam@localhost autoqa]$ git pull
+
#$ git pull
# [liam@localhost autoqa]$ git push origin  liam
+
#$ git push origin  liam
# [liam@localhost autoqa]$ git push ssh://git.fedorahosted.org/git/autoqa.git master
+
#$ git push ssh://git.fedorahosted.org/git/autoqa.git master
 
#:Enter passphrase for key '/home/liam/.ssh/id_rsa':
 
#:Enter passphrase for key '/home/liam/.ssh/id_rsa':

Revision as of 06:15, 12 August 2010

Update Auto Install

Upload the authentication key

  1. $ pwd
    /home/liam
  2. $ 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. $ 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':