go mod edit -replace github.com/orig/pkg v1.0.0=github.com/my/fork/pkg v1.0.0go mod edit -replace github.com/orig/pkg v1.0.0=/local/path/onyourmachinego mod edit -dropreplace github.com/orig/pkg v1.0.0replace github.com/orig/pkg v1.0.0 => github.com/my/fork/pkg v1.0.0