We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d6cd9da commit 3e58080Copy full SHA for 3e58080
1 file changed
internal/cmd/rig.go
@@ -402,7 +402,8 @@ func runRigAdd(cmd *cobra.Command, args []string) error {
402
var err error
403
gitURL, err = findGitRemoteURL(root)
404
if err != nil {
405
- return fmt.Errorf("no git remote found: %w", err)
+ // Allow local repos without remotes; use local path as the source URL.
406
+ gitURL = root
407
}
408
409
} else if rigName == "" {
0 commit comments