<![if !supportLists]>1. <![endif]>GITHUB create new repository
<![if !supportLists]>l <![endif]>EX: https://github.com/RealCool1983/python
<![if !supportLists]>2. <![endif]>Create RSA key
144 ssh-keygen -t rsa -C "abc@kimo.com.tw"
145 ssh -T git@github.com
<![if !supportLists]>3. <![endif]>Add pub key to github
FROM C:\Users\Rex_wu\.ssh\id_rsa.pub
TO https://github.com/settings/keys
<![if !supportLists]>4. <![endif]>Set git config
[remote "origin"]
url = git@github.com:RealCool1983/python.git
fetch = +refs/heads/master:refs/remotes/origin/master
puttykeyfile = C:\\Users\\Rex_wu\\.ssh\\puttyKey.ppk
[remote "toolgit"]
fetch = +refs/heads/*:refs/remotes/origin/*
<![if !supportLists]>5. <![endif]>Git done
EX CMD:
169 git push toolgit
171 git pull origin
172 git rebase master
173 git push toolgit
174 git pull
沒有留言:
張貼留言