File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -93,6 +93,7 @@ P.S: All these commands are tested on `git version 2.7.4 (Apple Git-66)`.
93
93
* [ Marks your commit as a fix of a previous commit.] ( #marks-your-commit-as-a-fix-of-a-previous-commit )
94
94
* [ squash fixup commits normal commits.] ( #squash-fixup-commits-normal-commits )
95
95
* [ skip staging area during commit.] ( #skip-staging-area-during-commit )
96
+ * [ Interactive staging.] ( #interactive-staging )
96
97
* [ List ignored files.] ( #list-ignored-files )
97
98
* [ Status of ignored files.] ( #status-of-ignored-files )
98
99
* [ Commits in Branch1 that are not in Branch2] ( #commits-in-branch1-that-are-not-in-branch2 )
@@ -688,6 +689,11 @@ git rebase -i --autosquash
688
689
git commit --only < file_path>
689
690
```
690
691
692
+ ## Interactive staging.
693
+ ``` sh
694
+ git add -i
695
+ ```
696
+
691
697
## List ignored files.
692
698
``` sh
693
699
git check-ignore *
Original file line number Diff line number Diff line change 282
282
}, {
283
283
"title" : " skip staging area during commit." ,
284
284
"tip" : " git commit --only <file_path>"
285
+ }, {
286
+ "title" : " Interactive staging." ,
287
+ "tip" : " git add -i"
285
288
}, {
286
289
"title" : " List ignored files." ,
287
290
"tip" : " git check-ignore *"
You can’t perform that action at this time.
0 commit comments