免責聲明

Disclaimer (免責聲明)
繼續閱覽代表您接受以上的免責聲明.
To continue reading means you accept the above disclaimer.

2015年2月4日 星期三

github create repo via command line


//=== http://stackoverflow.com/questions/2423777/is-it-possible-to-create-a-remote-repo-on-github-from-the-cli-without-ssh

curl -u 'user13' https://api.github.com/user/repos -d '{"name":"phonecat1"}'
[https git]
git remote add github https://github.com/user13/phonecat1.git

[ssh git]
git remote add github git@github.com:user13/phonecat1.git

git push github master


沒有留言:

張貼留言