8/20/19

How to upload a project to Github


Here is how you would do it in Windows:
  1. If you don't have git installed, see this article on how to set it up.
  2. Open up a Windows command prompt.
  3. Change into the directory where your source code is located in the command prompt.

…or create a new repository on the command line
echo "# tas" >> README.md
git init
git add README.md
git commit -m "first commit"
git remote add origin https://github.com/najathi/tas.git
git push -u origin master

…or push an existing repository from the command line
git remote add origin https://github.com/najathi/tas.git
git push -u origin master

…or import code from another repository
You can initialize this repository with code from a Subversion, Mercurial, or TFS project.

No comments:

Post a Comment

About

Hi, I'm Najathi.
I've started entrepreneurial company, Twin Brothers.Inc.
One is self-funded & the other is venture backed. I also send a weekly. where I share relevent, curated links.

Every Week I Publish a short post on writing, publishing, or content of IT Related

Contact Form

Name

Email *

Message *