Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
Tags
- centOS7
- controller
- AWS
- staging area
- react
- ruby
- php
- cron
- linux
- SQL
- pagination
- dockerfile
- Git
- imagemagick
- vue
- docker-compose
- javascript
- Selenium
- Python
- working directory
- ec2
- Wordpress
- NGINX
- docker
- codeigniter4
- MySQL
- props
- ubuntu
- laravel
- Ruby On Rails
Archives
- Today
- Total
내가 한 노력들
[ Git ] git archive이용해서, 소스코드 압축하기 본문
git archive이용하면, 소스코드를 압축파일로 만들 수 있습니다.
git archive --format=zip main -o gitPractice.zip
--format : 파일 포멧 지정
main : branch 명
-o : 파일명 지정
그러면, 위와같이 소스코드를 압축파일로 만들 수 있습니다.
'IT 공부 > git' 카테고리의 다른 글
git - working directory, staging area, git repo 영역에 대해서 (0) | 2023.11.10 |
---|---|
[ Git ] branch 이용하기 ( + branch 충돌 해결 방법) (0) | 2022.01.19 |
[ Git ] 원하는 Commit으로 돌아가고 싶은 경우 (soft와 hard) (0) | 2022.01.18 |
[ Git ] 기본적인 동작원리(working Dir / Staging Area / Local repo / remote repo) (0) | 2022.01.17 |
[ Git ] untracked content 에러 해결 (0) | 2021.12.30 |