Open kleinschmidt opened 1 year ago
this is just removing the .git
extension in the repo URL so we should use something portable like sed
:
➜ git config --get remote.origin.url | grep -o '[^:/]*$' | sed 's/.git$//'
julia_pod
or
➜ git config --get remote.origin.url | xargs basename -s .git
julia_pod
on macOS I get
when running this line