12
I'm writing a bash script to add, commit, push all files in a directory.
#!/bin/bash
git add .
read -p "Commit description: " desc
git commit -m $desc
git push origin master
I'm getting the following error:
$ ./togithub
Commit description:
test commit script
error: pathspec 'co...