Command line instructions

Git global setup
git config --global user.name "zxpo"
git config --global user.email "102-157@163.com"
Create a new repository
git clone git@gitlab.com:zxpo/test.git
cd test
touch README.md
git add README.md
git commit -m "add README"
git push -u origin master
Existing folder or Git repository
cd existing_folder
git init
git remote add origin git@gitlab.com:zxpo/test.git
git add .
git commit
git push -u origin master

相关文章:

  • 2022-12-23
  • 2021-10-15
  • 2022-12-23
  • 2021-04-20
  • 2021-05-21
  • 2021-10-07
  • 2021-12-03
猜你喜欢
  • 2021-06-05
  • 2022-02-07
  • 2022-12-23
  • 2021-06-01
  • 2021-06-03
  • 2021-11-19
相关资源
相似解决方案