Skip to content

Instantly share code, notes, and snippets.

@rafszul
Last active July 14, 2017 04:38
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rafszul/1fa427018b7819c30ed004ad1293f1fe to your computer and use it in GitHub Desktop.
Save rafszul/1fa427018b7819c30ed004ad1293f1fe to your computer and use it in GitHub Desktop.
Create a new project based on the

Create a new project based on the QuickStart

Discard everything "git-like" by deleting the .git folder.

rm -rf .git

Create a new git repo

You could start writing code now and throw it all away when you're done. If you'd rather preserve your work under source control, consider taking the following steps.

Initialize this project as a local git repo and make the first commit:

git init
git add .
git commit -m "Initial commit"

Create a remote repository for this project on the service of your choice.

Grab its address (e.g. https://github.com/<my-org>/my-proj.git) and push the local repo to the remote.

git remote add origin <repo-address>
git push -u origin master

Start development

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment