mirror of
https://github.com/balkian/balkian.github.com.git
synced 2024-11-14 15:42:28 +00:00
13 lines
248 B
ReStructuredText
13 lines
248 B
ReStructuredText
|
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'
|
||
|
|