Global setup:

 Set up git
  git config --global user.name "Your Name"
  git config --global user.email your email
      

Next steps:

  mkdir projectdir
  cd projectdir
  git init
  touch README
  git add README
  git commit -m 'first commit'
  git remote add origin git@github.com:username/gitproject.git
  git push -u origin master
      

Existing Git Repo?

  cd existing_git_repo
  git remote add origin git@github.com:username/gitproject.git
  git push -u origin master

相关文章:

  • 2022-02-09
  • 2021-12-04
  • 2021-11-30
  • 2021-11-20
  • 2021-11-20
  • 2021-06-03
  • 2021-10-09
猜你喜欢
  • 2021-08-28
  • 2022-12-23
  • 2021-06-13
  • 2021-04-09
  • 2021-08-13
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案