git知識點

 GIT 知識點

 

 

 

1、git怎樣刪除一個項目git

1, 選擇你要刪除的私有項目;app

 

 

2, 點擊進去後,選擇setting點擊,找到Advanced;gitlab

 

 

3,點擊刪除項目(在這裏既能夠刪除項目,也能夠重命名項目)blog

 

 

4,完成。rem

 2、簡單操做it

Command line instructions
You can also upload existing files from your computer using the instructions below.io


Git global setup(全局設置)
git config --global user.name "weizitianming"
git config --global user.email "weizitianming@163.com"ast

Create a new repository(建立新的存倉庫)
git clone git@gitlab.halos.bgi.com:haolibo/app1.git
cd app1
touch README.md
git add README.md
git commit -m "add README"
git push -u origin masteremail

Push an existing folder(推送現有文件夾)
cd existing_folder
git init
git remote add origin git@gitlab.halos.bgi.com:haolibo/app1.git
git add .
git commit -m "Initial commit"
git push -u origin masterdva

Push an existing Git repository(推送現有存儲庫)
cd existing_repo
git remote rename origin old-origin
git remote add origin git@gitlab.halos.bgi.com:haolibo/app1.git
git push -u origin --all
git push -u origin --tags

###########################

添加分支後,

git clone git@gitlab.halos.bgi.com:happy-operation/project_01.git

cd project_01.git

相關文章
相關標籤/搜索