#!/bin/bash # Change the description of a repo. if [[ $1 == *..* ]]; then echo "No .." >&2 exit 1 fi echo "Enter the new description and then EOF (^D)" cat >"$HOME/$1.git/description"