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

相关文章
相关标签/搜索