"Gitlab 사용법"의 두 판 사이의 차이
DB CAFE
(→Command line instructions) |
|||
42번째 줄: | 42번째 줄: | ||
git push -u origin --tags | git push -u origin --tags | ||
</source> | </source> | ||
+ | [[category:gitlab]] |
2019년 12월 23일 (월) 11:30 판
thumb_up 추천메뉴 바로가기
- DBA { Oracle DBA 명령어 > DBA 초급 과정 > DBA 고급 과정 }
- 튜닝 { 오라클 튜닝 목록 }
- 모델링 { 데이터 모델링 가이드 }
목차
1 gitlab 사용법[편집]
The repository for this project is empty You can create files directly in GitLab using one of the following options.
1.1 Command line instructions[편집]
You can also upload existing files from your computer using the instructions below.
- Git global setup
git config --global user.name "cykim"
git config --global user.email "bass4th@gmail.com"
1.2 Create a new repository[편집]
git clone git@gitlab.com:cykim/xmind.git
cd xmind
touch README.md
git add README.md
git commit -m "add README"
git push -u origin master
1.3 Push an existing folder[편집]
cd existing_folder
git init
git remote add origin git@gitlab.com:cykim/xmind.git
git add .
git commit -m "Initial commit"
git push -u origin master
1.4 Push an existing Git repository[편집]
cd existing_repo
git remote rename origin old-origin
git remote add origin git@gitlab.com:cykim/xmind.git
git push -u origin --all
git push -u origin --tags