From Fedora Project Wiki
(Created page with '1. git clone ssh://git.fedorahosted.org/git/autoqa.git 2.[liam@localhost ~]$ pwd /home/liam [liam@localhost autoqa]$ ssh-keygen -t rsa upload the /home/liam/.ssh/id_rsa.pub to h...')
 
No edit summary
Line 1: Line 1:
1. git clone ssh://git.fedorahosted.org/git/autoqa.git
== Update Auto Install ==
2.[liam@localhost ~]$ pwd
'''Upload the authentication key'''
for example:
#[liam@localhost ~]$ pwd
/home/liam
/home/liam
[liam@localhost autoqa]$ ssh-keygen -t rsa
#[liam@localhost autoqa]$ 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
3.
$ git config -f $HOME/.gitconfig user.name "Liam Li"
$ git config -f $HOME/.gitconfig user.email "lili@redhat.com"


4.[liam@localhost autoqa]$ pwd
'''Clone the source code'''
#git clone ssh://git.fedorahosted.org/git/autoqa.git
 
'''configure name and email '''
#$ git config -f $HOME/.gitconfig user.name "Liam Li"
#$ git config -f $HOME/.gitconfig user.email "lili@redhat.com"
 
'''Add files'''
#[liam@localhost autoqa]$ pwd
/home/liam/autoqa
/home/liam/autoqa
[liam@localhost autoqa]$ git add tests/anaconda/*
#[liam@localhost autoqa]$ git add tests/anaconda/*
5. [liam@localhost autoqa]$ git commit -a
# [liam@localhost autoqa]$ git commit -a
6. [liam@localhost autoqa]$ git pull
# [liam@localhost autoqa]$ git pull
7. [liam@localhost autoqa]$ git push origin  liam
# [liam@localhost autoqa]$ git push origin  liam
7. [liam@localhost autoqa]$ git push ssh://git.fedorahosted.org/git/autoqa.git master
# [liam@localhost autoqa]$ 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:06, 12 August 2010

Update Auto Install

Upload the authentication key for example:

  1. [liam@localhost ~]$ pwd

/home/liam

  1. [liam@localhost autoqa]$ ssh-keygen -t rsa
  2. 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

  1. [liam@localhost autoqa]$ git add tests/anaconda/*
  2. [liam@localhost autoqa]$ git commit -a
  3. [liam@localhost autoqa]$ git pull
  4. [liam@localhost autoqa]$ git push origin liam
  5. [liam@localhost autoqa]$ git push ssh://git.fedorahosted.org/git/autoqa.git master

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