You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
248 B
ReStructuredText
13 lines
248 B
ReStructuredText
10 years ago
|
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:
|
||
|
|
||
|
.. code-block:: bash
|
||
|
|
||
|
git rm --cached '\*\*.swp'
|
||
|
|