$ git status
# On branch test
# Untracked files:
# (use "git add <file>..." to include in what will be committed)
#
# .python-version
nothing added to commit but untracked files present (use "git add" to track)
$ git clean -f -d
Removing .python-version
$ git status
# On branch test
nothing to commit (working directory clean)
相关文章
- 12-14python-如何清除ncurses中特定坐标范围内的字符串?
- 12-14如何清除PL/SQL中的缓存
- 12-14c# – 每次在进程中调用XmlConfigurator.Configure()时,log4net如何不清除日志
- 12-14如何解决git冲突:Your local changes to the following files would be overwritten by merge...
- 12-14如何删除目录中的所有文件和文件夹? - How to delete all files and folders in a directory?
- 12-14如何将现有的git存储库(没有eclipse项目)添加到eclipse中?
- 12-14[每天解决一问题系列 - 0011] 如何清除Windows中的Icon缓存
- 12-14git中手动删除的文件如何在git中删除
- 12-14如何删除GIT中的.DS_Store
- 12-14【Git技术专题】如何使用git中的tag进行版本开发控制?