Skip to content

Instantly share code, notes, and snippets.

@ibreathebsb
Last active April 3, 2023 07:01
Show Gist options
  • Save ibreathebsb/0e82ce39be3bb47ece30f35d4c81a38b to your computer and use it in GitHub Desktop.
Save ibreathebsb/0e82ce39be3bb47ece30f35d4c81a38b to your computer and use it in GitHub Desktop.
git stash 保存未跟踪文件

git stash

默认 git stash 仅会将已经跟踪的文件存储,当工作区有为跟踪文件时,使用git stash --include-untracked可以将所有文件存储起来。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment