…or create a new repository on the command line

 
echo "# test" >> README.md
git init
git add README.md
git commit -m "first commit"
git remote add origin https://github.com/mygit-li/test.git
git push -u origin master

…or push an existing repository from the command line

 
git add .
git commit -m "second commit"
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.

相关文章:

  • 2021-05-07
  • 2021-05-03
  • 2021-03-28
  • 2021-11-17
猜你喜欢
  • 2021-09-29
  • 2021-12-09
  • 2021-06-30
  • 2021-11-27
  • 2021-12-22
  • 2021-04-30
相关资源
相似解决方案