Last Sync: 2025-12-23 00:26 (Mobile)

This commit is contained in:
2025-12-23 00:26:47 +09:00
parent bf797c3052
commit 0aaaee20d0
3 changed files with 51 additions and 11 deletions

View File

@@ -27,12 +27,12 @@
"state": {
"type": "markdown",
"state": {
"file": "git 생활코딩 강의.md",
"file": "장비정비.md",
"mode": "source",
"source": false
},
"icon": "lucide-file",
"title": "git 생활코딩 강의"
"title": "장비정비"
}
}
],
@@ -64,7 +64,7 @@
"state": {
"type": "search",
"state": {
"query": "file:월력",
"query": "file:장비",
"matchingCase": false,
"explainSearch": false,
"collapseAll": false,
@@ -182,15 +182,14 @@
},
"active": "f4df235c56dd2a0c",
"lastOpenFiles": [
"2025년 월력형 메모형 일정.canvas",
"desktop_hp_obsidian/2025년 월력형 메모형 일정.canvas",
"장비정비.md",
"육규 471 장비관리 규정.md",
"장비정비.md",
"25-10차 군수품(장비) 재물조정(재산증감)관련내용확인요청.md",
"25 저장화생방 장비물자 신뢰성평가 결과 후속조치.md",
"database_daily/2025.01.12(일)-1.md",
"inbox/관저 2차 더샵.md",
"database_daily/2025.01.12(일).md",
"2025년 월력형 메모형 일정.canvas",
"가계부 코드.md",
"2024-09-09_대전탐방-1.md",
"장비관리.md",
@@ -221,6 +220,7 @@
"Taskido/view-1.js",
"Taskido/demo_file-1.md",
"Taskido",
"화생방.md",
"무제 파일 2.canvas",
"새로운 5.txt",
"무제 1.canvas",

View File

@@ -30,12 +30,12 @@
"state": {
"type": "markdown",
"state": {
"file": "git 생활코딩 강의.md",
"file": "육규 471 장비관리 규정.md",
"mode": "source",
"source": false
},
"icon": "lucide-file",
"title": "git 생활코딩 강의"
"title": "육규 471 장비관리 규정"
}
}
],
@@ -67,7 +67,7 @@
"state": {
"type": "search",
"state": {
"query": "File:git",
"query": "File:장비",
"matchingCase": false,
"explainSearch": false,
"collapseAll": true,
@@ -104,7 +104,7 @@
}
}
],
"currentTab": 0
"currentTab": 1
},
"right": {
"id": "2121e36a90aa3120",
@@ -176,8 +176,8 @@
},
"active": "5d34bc0a1a660760",
"lastOpenFiles": [
"2025년 월력형 메모형 일정.canvas",
"git 생활코딩 강의.md",
"2025년 월력형 메모형 일정.canvas",
"Clippings/git 명령어.md",
"장비정비.md",
"Clippings/git remote 변경 - Google 검색.md",

View File

@@ -80,5 +80,45 @@ git branch -D exp
# reset, branch 과거로 돌아가기
```
git reset --hard [해시값]
```
```
git reflog
```
>방금전 실행한 명령어 로그
```
git reset ORIG_HEAD
```
> 되돌리기
```
git checkout [해시값]
```
| 구분 | 1 | 2 | 3 |
| --- | ---------------------------------------------------------- | -------------------------------- | ------------------------------- |
| 용어 | working directory, <br> working tree <br> working copy<br> | index<br> staging area<br> cache | repository<br> history<br> tree |
| 명령어 | | | git reset --soft |
| | | git reset --mixed | git reset --mixed |
| | git reset --hard | git reset --hard | git reset --hard |
| | | | |
```
git log -p
```
>로그자세히 보기
```
git diff
```
>문서의 다른점 보기(index와 working copy 차이점)
# merge, conflict
```
git config --global merge.tool kdiff3
```
> 병합을 전문적으로 하는 툴
```
git mergetool
```