mirror of
https://github.com/lordmathis/dotfiles.git
synced 2025-11-05 17:24:22 +00:00
Exit script if no branch supplied
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
if [ $# -eq 0 ]
|
||||
then
|
||||
echo "Git branch name missing"
|
||||
exit 1;
|
||||
fi
|
||||
|
||||
echo ".dotfiles" >> $HOME/.gitignore
|
||||
|
||||
Reference in New Issue
Block a user