Getting a Project onto GitHub

twitter logo github logo Updated on ・1 min read

  1. open command line, change directory to root of project
  2. initialize Git locally, run: git init
  3. run: git add . and git commit -m "initial commit" separately
  4. this will stage and commit all files
  5. consider using a .gitignore file
  6. on GitHub create a new repo: 'Your Repositories' > 'New'
  7. if your repo is named: 'MyRepo', and your Github user: 'MrGuy'
  8. run: git remote add origin
  9. run: git push -u origin master
twitter logo DISCUSS
Classic DEV Post from May 10

What do you wish you knew about Developer Relations?

A conversation... what do DevRel professionals wish devs knew about their job? And what do devs wish they knew about DevRel?

Eric Bishard profile image
Software Engineer and Developer advocate for Progress Software (@ProgressSW) for KendoReact hailing from Central Florida, now residing in the San Francisco Bay Area.

Hey there reader...

Do you prefer sans serif over serif?

You can change your font preferences in the "misc" section of your settings. ❤️