Skip to content

Instantly share code, notes, and snippets.

@yanhua365
Created November 26, 2013 01:34
Show Gist options
  • Save yanhua365/7652058 to your computer and use it in GitHub Desktop.
Save yanhua365/7652058 to your computer and use it in GitHub Desktop.
新建Git项目并push到对应的oschina的仓库中
mkdir myprj
cd myprj
git init
touch README.md
git add README.md
git commit -m "first commit"
git remote add origin https://git.oschina.net/yourname/myprj.git
git push -u origin master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment