Skip to content

Instantly share code, notes, and snippets.

@panfu
Created November 14, 2010 12:02
Show Gist options
  • Save panfu/676107 to your computer and use it in GitHub Desktop.
Save panfu/676107 to your computer and use it in GitHub Desktop.
新生成一个git项目
Global setup:
Download and install Git
git config --global user.name "panfu"
git config --global user.email [email protected]
Next steps:
mkdir mochiweb_example
cd mochiweb_example
git init
touch README
git add README
git commit -m 'first commit'
git remote add origin [email protected]:panfu/mochiweb_example.git
git push origin master
Existing Git Repo?
cd existing_git_repo
git remote add origin [email protected]:panfu/mochiweb_example.git
git push origin master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment