일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- NGINX
- 컴퓨터과학총론
- 구글
- javascript
- mariadb
- MySQL
- C
- unity
- 개발
- ubuntu
- android
- techEmpower
- 번역
- 프래그먼트
- it
- 안드로이드
- error
- php
- H2O
- 해석
- centOS7
- 개발자
- 자바
- C lanuage
- Portfolio
- 한글
- server
- java
- caddy
- kakao
- Today
- Total
목록DevOps (5)
개발모음집
도커 실행시키기 sudo systemctl start docker 라고 명령어를 쳤더니 Unable to start Docker service with error “Failed to start docker.service: Unit not found.” 라는 에러발생 아래의 명령어로 실행시킬 수 있었다. $ sudo snap start docker 출처 : stackoverflow.com/questions/43569781/unable-to-start-docker-service-with-error-failed-to-start-docker-service-unit
$ mkdir tmp $ touch tmp/.gitignore $ git add tmp $ echo '*' > tmp/.gitignore $ git commit -m 'Empty directory' tmp 출처: https://stackoverflow.com/questions/115983/how-can-i-add-an-empty-directory-to-a-git-repository How can I add an empty directory to a Git repository? How can I add an empty directory (that contains no files) to a Git repository? stackoverflow.com 그리고 .gitgignore 파일에 tmp 추가
git fetch --all git reset --hard origin/master git pull origin master 하지말아야할 브런치에 강제 pull을 했다. 그래서 롤백하는 방법을 찾아봤다. git reflog // 언제든지 리포지토리에서 참조되었거나 참조 된 모든 커밋의 record git reset --hard HEAD@{1} 출처 : https://88240.tistory.com/284
git fetch --all git reset --hard origin/master git pull origin master