remove origin remote after local clone

It's not useful, since it'll change to something that cannot be directly
merged with.
This commit is contained in:
Joey Hess 2014-08-19 19:03:05 -04:00
parent 11c1160655
commit db1cf96dd7
1 changed files with 2 additions and 0 deletions

View File

@ -71,6 +71,8 @@ wrapper args propellordir propellorbin = do
( do
void $ boolSystem "git" [Param "clone", File distrepo, File propellordir]
fetchUpstreamBranch propellordir distrepo
changeWorkingDirectory propellordir
void $ boolSystem "git" [Param "remote", Param "rm", Param "origin"]
, void $ boolSystem "git" [Param "clone", Param netrepo, File propellordir]
)