add flag to set fork-name during repo fork. Tests WIP
This commit is contained in:
parent
29816b63c3
commit
54d92facbf
5 changed files with 49 additions and 62 deletions
|
|
@ -153,6 +153,7 @@ func AddRemote(name, u string) (*Remote, error) {
|
|||
}
|
||||
|
||||
func UpdateRemoteURL(name, u string) error {
|
||||
fmt.Println(name, u, "=====================name u==============")
|
||||
addCmd, err := GitCommand("remote", "set-url", name, u)
|
||||
if err != nil {
|
||||
return err
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue