File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -155,6 +155,7 @@ P.S: All these commands are tested on `git version 2.7.4 (Apple Git-66)`.
155
155
* [ Exclude author from logs] ( #exclude-author-from-logs )
156
156
* [ Generates a summary of pending changes] ( #generates-a-summary-of-pending-changes )
157
157
* [ List references in a remote repository] ( #list-references-in-a-remote-repository )
158
+ * [ Backup untracked files.] ( #backup-untracked-files )
158
159
159
160
<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
160
161
<!-- @doxie.inject end toc -->
@@ -1057,5 +1058,10 @@ git request-pull v1.0 https://git.ko.xz/project master:for-linus
1057
1058
git ls-remote git://git.kernel.org/pub/scm/git/git.git
1058
1059
```
1059
1060
1061
+ ## Backup untracked files.
1062
+ ```sh
1063
+ git ls-files --others -i --exclude-standard | xargs zip untracked.zip
1064
+ ```
1065
+
1060
1066
<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
1061
1067
<!-- @doxie.inject end -->
You can’t perform that action at this time.
0 commit comments