Skip to content

Instantly share code, notes, and snippets.

@tazjel
Forked from miceno/gist:1542202
Created December 31, 2011 00:36
Show Gist options
  • Save tazjel/1542217 to your computer and use it in GitHub Desktop.
Save tazjel/1542217 to your computer and use it in GitHub Desktop.
How to create a project in GitHub
Global setup:
Set up git
git config --global user.name "Orestes Sanchez"
git config --global user.email [email protected]
Next steps:
mkdir Drupal7-for-Arxiu-Hist-ric-del-Poblenou
cd Drupal7-for-Arxiu-Hist-ric-del-Poblenou
git init
touch README
git add README
git commit -m 'first commit'
git remote add origin [email protected]:miceno/Drupal7-for-Arxiu-Hist-ric-del-Poblenou.git
git push -u origin master
Existing Git Repo?
cd existing_git_repo
git remote add origin [email protected]:miceno/Drupal7-for-Arxiu-Hist-ric-del-Poblenou.git
git push -u origin master
Importing a Subversion Repo?
Click here
When you're done:
Continue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment