• M
    Infer project name from git workdir root name instead of PWD · 0d3617fd
    Mislav Marohnić 提交于
    The `create` and `remote` commands needs to infer the current project
    name from the project's directory. Instead of using the current working
    directory, which doesn't necessarily match the project's toplevel
    directory, use `git rev-parse --show-toplevel` which also respects the
    `-C` global flag setting.
    
    Fixes #1105, closes #1114
    0d3617fd
utils.go 1.4 KB