@devchangjun/ctm 0.1.8 → 0.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +30 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -7,19 +7,25 @@ Jira 티켓 기반 Git 브랜치 관리 CLI.
|
|
|
7
7
|
|
|
8
8
|
## 설치
|
|
9
9
|
|
|
10
|
-
### Homebrew (
|
|
10
|
+
### Homebrew (macOS)
|
|
11
11
|
|
|
12
12
|
```bash
|
|
13
13
|
brew tap ckdwns9121/ctm
|
|
14
14
|
brew install ctm
|
|
15
15
|
```
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
업데이트:
|
|
18
18
|
|
|
19
19
|
```bash
|
|
20
20
|
brew upgrade ctm
|
|
21
21
|
```
|
|
22
22
|
|
|
23
|
+
### npm (Windows / Linux / macOS)
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
npm install -g @devchangjun/ctm
|
|
27
|
+
```
|
|
28
|
+
|
|
23
29
|
---
|
|
24
30
|
|
|
25
31
|
## 시작하기
|
|
@@ -92,6 +98,26 @@ Branch name › fix/CGKR-1423 (수정 가능)
|
|
|
92
98
|
|
|
93
99
|
---
|
|
94
100
|
|
|
101
|
+
### `ctm co [key]` — 브랜치 체크아웃
|
|
102
|
+
|
|
103
|
+
```bash
|
|
104
|
+
ctm co CGKR-1423 # 해당 티켓의 브랜치로 체크아웃
|
|
105
|
+
ctm co 1423 # 숫자만 입력해도 OK
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
같은 티켓으로 여러 브랜치가 있으면 선택 리스트가 나옵니다.
|
|
109
|
+
|
|
110
|
+
```
|
|
111
|
+
? Multiple branches found for CGKR-1423:
|
|
112
|
+
❯ feat/CGKR-1423
|
|
113
|
+
fix/CGKR-1423
|
|
114
|
+
refactor/CGKR-1423
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
uncommitted 변경사항이 있으면 stash 여부를 물어보고, stash를 거부하면 체크아웃을 중단합니다.
|
|
118
|
+
|
|
119
|
+
---
|
|
120
|
+
|
|
95
121
|
### `ctm st` — 현재 상태 확인
|
|
96
122
|
|
|
97
123
|
```bash
|
|
@@ -204,7 +230,8 @@ ctm wt rm CGKR-1423 # 머지 후 worktree 정리
|
|
|
204
230
|
|
|
205
231
|
## 요구사항
|
|
206
232
|
|
|
207
|
-
- macOS
|
|
233
|
+
- macOS / Windows / Linux (npm 설치 시)
|
|
234
|
+
- Node.js 20+ (npm 설치 시)
|
|
208
235
|
- Git
|
|
209
236
|
- GitHub CLI (`gh`) — `ctm done` 사용 시 필요
|
|
210
237
|
|