DEV Community

Eric Bishard
Eric Bishard

Posted on • Edited on

1

Getting a Project onto GitHub

  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 https://github.com/MrGuy/MyRepo
  9. run: git push -u origin master

Top comments (0)

Gen AI apps are built with MongoDB Atlas

Gen AI apps are built with MongoDB Atlas

MongoDB Atlas is the developer-friendly database for building, scaling, and running gen AI & LLM apps—no separate vector DB needed. Enjoy native vector search, 115+ regions, and flexible document modeling. Build AI faster, all in one place.

Start Free

👋 Kindness is contagious

Dive into this thoughtful piece, beloved in the supportive DEV Community. Coders of every background are invited to share and elevate our collective know-how.

A sincere "thank you" can brighten someone's day—leave your appreciation below!

On DEV, sharing knowledge smooths our journey and tightens our community bonds. Enjoyed this? A quick thank you to the author is hugely appreciated.

Okay