Gitlab command line instructions

Posted winnerren

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Gitlab command line instructions相关的知识,希望对你有一定的参考价值。

Git global setup

git config --global user.name "winner"
git config --global user.email "[email protected]"

Create a new repository

git clone [email protected]:sa/library.git
cd library
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 [email protected]:sa/library.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 [email protected]:sa/library.git
git push -u origin --all
git push -u origin --tags

  

 

以上是关于Gitlab command line instructions的主要内容,如果未能解决你的问题,请参考以下文章

Command line is too long. Shorten the command line via JAR manifest

springboot项目运行错误:Error running ‘Application‘: Command line is too long.Shorten command line for

报错Command line is too long. Shorten the command line xxx解决办法

Error running ‘xxApplication‘: Command line is too long. Shorten command line for ......

Error running ‘xxApplication‘: Command line is too long. Shorten command line for ......

运行 ‘XXXApiApplication‘ 出错: Command line is too long. Shorten command line for ShopApiApplication or