# initialize your project as a git repository.
git init
# this will add an origin, meaning, where the files will be uploaded.
git remote add origin https://github.com/<username>/repository-name.git
# this will add all the files to your working tree
git add .
# this will commit your code
git commit -m "Your message as to what you have changed in code"
# this will push the code to Github, on master branch.
git push origin master
我假设您正在尝试将您的Django项目上传到Github上,因此以下是您可以遵循的步骤。你知道吗
相关问题 更多 >
编程相关推荐