mirror of
https://github.com/balkian/balkian.github.com.git
synced 2025-08-24 04:32:20 +00:00
Move to Hugo
This commit is contained in:
13
content/post/2013-08-22-Remove-git-files-with-globbing.md
Normal file
13
content/post/2013-08-22-Remove-git-files-with-globbing.md
Normal file
@@ -0,0 +1,13 @@
|
||||
---
|
||||
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'
|
||||
```
|
Reference in New Issue
Block a user