| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |
- 네트워크
- vscode
- GIT
- port
- context
- lsof
- Source
- bash
- tomcat
- IntelliJ
- 줄바꿈 문자
- profile
- xargs
- import
- find
- web.xml
- Windows
- JavaScript
- ssh
- Windows 10
- 단축키
- Eclipse
- plugin
- grep
- Quartz
- netsh
- resource
- maVen
- VirtualBox
- Mac
- Today
- Total
목록Dev (274)
develog
## 브랜치 생성 ~ (master)$ git switch -c feature/01 Switched to a new branch 'feature/01' ~ (feature/01)$ ## 브랜치로 전환 ~ (feature/01)$ git switch master MREADME.md Switched to branch 'master' ## 브랜치 삭제 ~ (master)$ git branch -d feature/01 Deleted branch feature/01 (was 56d37b2).
clone - github repository 를 내 로컬 컴퓨터로 복제한다 fork - 다른 사람의 github repository 를 내 github 계정으로 복제한다
reset 을 하면 - reset 한 커밋, 이후 로그가 삭제되고 - reset 한 커밋, 이후 수정내용이 unstaged 상태로 바뀐다 reset 실행 전 $ git log --oneline 0a2d818 (HEAD -> master) add section 2 6ced8d4 add section 49e50c8 change title ## reset 할 커밋 26d36a0 add index.html $ git status On branch master nothing to commit, working tree clean reset 실행 $ git reset 49e50c8 Unstaged changes after reset: Mindex.html reset 실행 후 ## reset 한 커밋 이후 삭제된다 $..
특정 커밋 내용을 취소하고 로그를 남긴다여러 개 커밋을 revert 하는 경우, 최근 커밋부터 revert 한다 revert 실행 전$ git log --oneline0a2d818 (HEAD -> master) add section 26ced8d4 add section49e50c8 change title ## revert 할 커밋26d36a0 add index.html$ git statusOn branch masternothing to commit, working tree cleanrevert 실행$ git revert 49e50c8revert 실행 후$ git log --onelineb9cefd0 (HEAD -> master) Revert "change title" # revert 한 로그가 남는다0a..
특정 커밋 시점으로 보기 # 특정 커밋으로 이동 git checkout 7b98e88 # 원래 커밋으로 복귀 git switch -