I'm entirely new to bash scripting, and I'm trying to write a script which pushes a commit to a var.
COMMIT_RANGE=$(echo "${ git log --format=oneline --no-merges }" | cut -d/ -f7)
I'm entirely new to bash scripting, and I'm trying to write a script which pushes a commit to a var.
COMMIT_RANGE=$(echo "${ git log --format=oneline --no-merges }" | cut -d/ -f7)