mirror of
https://github.com/xHyroM/gimi.git
synced 2024-11-21 15:41:04 +01:00
fix: separate branch pushing & tags pushing
This commit is contained in:
parent
d9fdea2a26
commit
91479c8f94
1 changed files with 4 additions and 2 deletions
|
@ -79,8 +79,10 @@ char *generate_sourcehut(struct gimi_config *cfg,
|
||||||
"\n"
|
"\n"
|
||||||
"\n git remote add gimi-%s %s "
|
"\n git remote add gimi-%s %s "
|
||||||
"\n ssh-keyscan %s >> ~/.ssh/known_hosts"
|
"\n ssh-keyscan %s >> ~/.ssh/known_hosts"
|
||||||
"\n git push -f --all --tags gimi-%s",
|
"\n git push -f --all gimi-%s"
|
||||||
provider->name, provider->ssh, repo->domain, provider->name);
|
"\n git push -f --tags gimi-%s",
|
||||||
|
provider->name, provider->ssh, repo->domain, provider->name,
|
||||||
|
provider->name);
|
||||||
|
|
||||||
strcat(remotes, buf);
|
strcat(remotes, buf);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue