From Fedora Project Wiki
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
'''Upload the authentication key''' | '''Upload the authentication key''' | ||
#$ pwd | #$ pwd | ||
#: /home/ | #: /home/username | ||
#$ ssh-keygen -t rsa | #$ ssh-keygen -t rsa | ||
#Get an account and upload the /home/ | #Get an account and upload the /home/username/.ssh/id_rsa.pub to https://admin.fedoraproject.org/accounts/login | ||
'''Clone the source code''' | '''Clone the source code''' | ||
#git clone ssh://git.fedorahosted.org/git/autoqa.git | #git clone ssh://git.fedorahosted.org/git/autoqa.git | ||
'''Configure name and email ''' | '''Configure name and email ''' | ||
#$ git config -f $HOME/.gitconfig user.name " | #$ git config -f $HOME/.gitconfig user.name "username" | ||
#$ git config -f $HOME/.gitconfig user.email " | #$ git config -f $HOME/.gitconfig user.email "username@youremail.com" | ||
'''Add files''' | '''Add files''' | ||
#$ pwd | #$ pwd | ||
#: /home/ | #: /home/username/autoqa | ||
#$ git add tests/anaconda/* | #$ git add tests/anaconda/* | ||
#$ git commit -a | #$ git commit -a | ||
#$ git pull | #$ git pull | ||
#$ git push origin | #$ git push origin username | ||
#$ 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/ | #:Enter passphrase for key '/home/username/.ssh/id_rsa': | ||
'''Create named branch''' | '''Create named branch''' |
Revision as of 06:41, 12 August 2010
Update Auto Install
Upload the authentication key
- $ pwd
- /home/username
- $ ssh-keygen -t rsa
- Get an account and upload the /home/username/.ssh/id_rsa.pub to https://admin.fedoraproject.org/accounts/login
Clone the source code
Configure name and email
- $ git config -f $HOME/.gitconfig user.name "username"
- $ git config -f $HOME/.gitconfig user.email "username@youremail.com"
Add files
- $ pwd
- /home/username/autoqa
- $ git add tests/anaconda/*
- $ git commit -a
- $ git pull
- $ git push origin username
- $ git push ssh://git.fedorahosted.org/git/autoqa.git master
- Enter passphrase for key '/home/username/.ssh/id_rsa':
Create named branch
More git reference