Nokia N900 >> Maemo

Git操作


Create Repository

$ curl -u USER:PASSWORD https://api.github.com/user/repos -d '{"name":"REPO"}'

List Repository

$ curl -s -u USER:PASSWORD https://api.github.com/user/repos?per_page=1000000

Remove Repository

$ curl -X DELETE -u USER:PASSWORD https://api.github.com/repos/USER/REPO

Pull Repository

$ git pull

Clone Repository

$ git clone ssh://git@github.com/USER/REPO.git

Commit Repository

$ git add --all .
$ git commit -m "COMMIT"
$ git push origin master


返回上一頁