sweetsunnyflower

Command line instructions

Git global setup
git config --global user.name "Administrator"
git config --global user.email "admin@example.com"
Create a new repository
git clone git@gitlab.sweetsunnyflower.com:root/laravel.git
cd laravel
touch README.md
git add README.md
git commit -m "add README"
git push -u origin master
Existing folder
cd existing_folder
git init
git remote add origin git@gitlab.sweetsunnyflower.com:root/laravel.git
git add .
git commit -m "Initial commit"
git push -u origin master
Existing Git repository
cd existing_repo
git remote rename origin old-origin
git remote add origin git@gitlab.sweetsunnyflower.com:root/laravel.git
git push -u origin --all
git push -u origin --tags

分类:

技术点:

相关文章:

  • 2022-02-07
  • 2021-06-02
  • 2021-09-20
  • 2021-09-12
  • 2022-01-10
  • 2021-10-17
  • 2022-12-23
  • 2022-02-07
猜你喜欢
  • 2021-10-20
  • 2021-11-16
  • 2021-08-26
  • 2021-06-25
  • 2021-04-07
  • 2021-12-19
  • 2022-02-07
相关资源
相似解决方案