Skip to content

Swift Script: Remove all directories and files for a given path except those for Git. These include .git and .gitignore.

Notifications You must be signed in to change notification settings

ikiapps/Remove-All-Except-Dot-Git

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Remove All Except Dot Git

Remove all directories and files for a given path except those for Git. These include .git and .gitignore.

This is useful for maintaining a repository that is dynamically generated such as with a Jekyll site.

The use case is where you want to ensure that no previous files from a previous Jekyll build are lying around in your directory that you use for publishing your blog.

About

Swift Script: Remove all directories and files for a given path except those for Git. These include .git and .gitignore.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages