1
0
mirror of https://github.com/balkian/balkian.github.com.git synced 2024-09-20 07:31:43 +00:00
balkian.github.com/_posts/2013-08-22-Remove-git-files-with-globbing.markdown
J. Fernando Sánchez 17104d70b5 New design
2013-08-23 01:57:31 +02:00

11 lines
260 B
Markdown

---
layout: post
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:
{% highlight bash %}
git rm --cached '\*\*.swp'
{% endhighlight %}