You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/tutorial.md
+27-6Lines changed: 27 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@ git-cl: A Git subcommand to manage changelists in Git. Group files by intent, ma
21
21
-[Git Status codes](#git-status-codes)
22
22
-[Color Key](#color-key)
23
23
-[2.3 Diff a changelist](#23-diff-a-changelist)
24
-
-[2.4 Stage a changelist](#24-stage-a-changelist)
24
+
-[2.4 Stage and unstage a changelist](#24-stage-and-unstage-a-changelist)
25
25
-[2.5 Commit a changelist](#25-commit-a-changelist)
26
26
-[2.6 Remove files from changelists](#26-remove-files-from-changelists)
27
27
-[2.7 Delete changelists](#27-delete-changelists)
@@ -229,15 +229,17 @@ git cl diff docs tests # Show combined diff for both 'docs' and 'tests'
229
229
git cl diff docs --staged # Show staged changes for 'docs' changelist
230
230
```
231
231
232
-
### 2.4 Stage a changelist
232
+
### 2.4 Stage and Unstage a Changelist
233
+
234
+
#### Stage a changelist
233
235
234
236
```
235
237
git cl stage <changelist-name>
236
238
```
237
239
238
-
- Stages all tracked files from the changelist.
239
-
-Only files already tracked by Git will be staged. Untracked files ([??]) in the changelist are safely ignored and remain untracked unless you add them with `git add` first.
240
-
-Changelist is deleted after staging.
240
+
- Stages all tracked files in the changelist.
241
+
- Untracked files ([??]) are ignored unless added with git add.
242
+
-The changelist is deleted after staging, unless --keep is used.
0 commit comments