1
0
mirror of https://github.com/balkian/balkian.github.com.git synced 2024-09-21 16:11:41 +00:00
balkian.github.com/content/post/2013-08-22-Remove-git-files-with-globbing.md
J. Fernando Sánchez 7c3fb50312 Move to Hugo
2019-01-10 20:26:53 +01:00

14 lines
219 B
Markdown

---
title: Remove git files with globbing
date: 2013-08-22 23:14:00
tags:
- git
---
A simple trick. If you want to remove all the '.swp' files from a git
repository, just use:
```bash
git rm --cached '**.swp'
```