Skip to content

Commit

Permalink
docs : git 명령 모음 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
hoonti06 committed Mar 29, 2022
1 parent 1f77c58 commit e71879c
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions _wiki/git-commands.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
layout : wiki
title :
summary :
date : 2022-03-20 15:56:04 +0900
updated : 2022-03-20 16:02:20 +0900
tag :
public : true
published : true
parent :
latex : false
---
* TOC
{:toc}

- git reset undo
```bash
git reset 'HEAD@{1}'
```
- <https://stackoverflow.com/a/2531803>

<br>
- untracked files 한 번에 제거하는 방법
```bash
git clean -f
git clean -fd # directory까지 제거
```

0 comments on commit e71879c

Please sign in to comment.