Here is how you would do it in Windows:
- If you don't have git installed, see this article on how to set it up.
- Open up a Windows command prompt.
- 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