Add inference for repository name #8
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The repository name is usually the same on the server as it is on the local filesystem. Similarly, the current working directory will often be the project root or a subfolder. I can scan upwards for a git repo and use that folder as the default repository name.
I won't have the GTTOOL_GITEA_FQRN without the username, though, and system account names aren't likely to match Gitea account names. I'll need a global and/or per-user config file to supply that.
Basic repo name inference was completed in
da8f008f1a.The program will use the current dir as the repo name if it is not on the CLI, environment, or a config file.