SO中文参考
首页
(current)
程序语言
c
java
python
c++
go
javascript
swift
c#
操作系统
linux
ubuntu
centos
unix
数据库
oracle
mysql
mongodb
postgresql
框架
node.js
angular
react-native
avalon
django
twisted
hadoop
.net
移动开发
android
ios
搜索
hi,我需要编写一个简短的shell脚本,其中列出了GiT存储库忽略的所有现有文件。例如:[重复]
问题描述
投票:-2
回答:1
%> bash git_ignore.sh |猫-e
。DS_Store $
mywork.c〜$
%>
git
macos
terminal
gitignore
git-status
1个回答
0
投票
应该可以通过
git ls-files --ignored -X /path/to/gitignore
。无需编写专用脚本。
最新问题
使用 Firebase 在 Flutter 中实现 Google Signin 后出现平台异常错误
css flexbox / tailwind“简单”对齐无法按我的预期工作
Pine 脚本中 calc_on_every_tick=true 时如何获取前一个刻度的值?
仅对下一个 js 服务器进行查询反应
为什么 Android 模拟器的嵌套虚拟化速度非常非常慢?
.ost 文件的影子副本
将多个 HTML 文件、图像和 CSS 文件合并为一个 HTML 文件
如何将Material Web组件导入到svelte项目
如何使用敏感环境使其适用于 Expo Go
如何将Laravel 8连接到oracle 11g数据库?
THREE.BufferGeometry - 如何手动设置面部颜色?
PHP Laravel,错误屏幕显示敏感信息
使用 Jackson 合并两个 JSON 文档
终极会员:在注册表中添加密码验证
Rumble RSS feed - 使用 python urllib.request 调用时给出 403
django admin 表单集的相互依赖验证
如何使用ZXing检测复杂的二维码?
storeResouce 使用远程接口太慢
windows下无法安装neovim
Macbook M1 上的 WebStorm Docker deamon 连接错误
© www.soinside.com 2019 - 2024. All rights reserved.