- データベース一覧
show databases
#!/bin/bash | |
GIT=/usr/local/bin/git | |
SCRIPT_DIR=$( cd "$( dirname "$0" )" && pwd -P ) | |
if [ "$1" = "clone" ]; then | |
origin_url="$2" | |
else | |
# check if current directory is under git repository | |
origin_url=$("$GIT" config --get remote.origin.url) || { |