fix: separate branch pushing & tags pushing

This commit is contained in:
Jozef Steinhübl 2024-07-23 17:51:05 +02:00
parent d9fdea2a26
commit 91479c8f94
No known key found for this signature in database
GPG key ID: E6BC90C91973B08F

View file

@ -79,8 +79,10 @@ char *generate_sourcehut(struct gimi_config *cfg,
"\n"
"\n git remote add gimi-%s %s "
"\n ssh-keyscan %s >> ~/.ssh/known_hosts"
"\n git push -f --all --tags gimi-%s",
provider->name, provider->ssh, repo->domain, provider->name);
"\n git push -f --all gimi-%s"
"\n git push -f --tags gimi-%s",
provider->name, provider->ssh, repo->domain, provider->name,
provider->name);
strcat(remotes, buf);