Skip to content

Instantly share code, notes, and snippets.

@mizuneko
mizuneko / git-gitkeep
Last active May 9, 2019 06:04 — forked from aoki/git-gitkeep
[.gitkeepを作る] bash版とvbs版
#!/bin/bash
if ! git rev-parse 2> /dev/null; then
echo -e "\033[0;31mERROR\033[0;39m: This directory is not git repository \033[0;31m:(\033[0;39m"
exit 1
fi
Seek() {
for DIR in * ; do
if [ -d "${DIR}" ]; then