From Fedora Project Wiki
No edit summary |
|||
Line 1: | Line 1: | ||
== Update Auto Install == | == Update Auto Install == | ||
'''Upload the authentication key''' | '''Upload the authentication key''' | ||
#[liam@localhost ~]$ pwd | #[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 | ||
Line 17: | Line 16: | ||
'''Add files''' | '''Add files''' | ||
#[liam@localhost autoqa]$ pwd | #[liam@localhost autoqa]$ pwd | ||
/home/liam/autoqa | #: /home/liam/autoqa | ||
#[liam@localhost autoqa]$ git add tests/anaconda/* | #[liam@localhost autoqa]$ git add tests/anaconda/* | ||
# [liam@localhost autoqa]$ git commit -a | # [liam@localhost autoqa]$ git commit -a |
Revision as of 06:10, 12 August 2010
Update Auto Install
Upload the authentication key
- [liam@localhost ~]$ pwd
- /home/liam
- [liam@localhost autoqa]$ ssh-keygen -t rsa
- upload the /home/liam/.ssh/id_rsa.pub to
Clone the source code
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
- [liam@localhost autoqa]$ git add tests/anaconda/*
- [liam@localhost autoqa]$ git commit -a
- [liam@localhost autoqa]$ git pull
- [liam@localhost autoqa]$ git push origin liam
- [liam@localhost autoqa]$ git push ssh://git.fedorahosted.org/git/autoqa.git master
Enter passphrase for key '/home/liam/.ssh/id_rsa':