git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Pushing everything

From
MMaaartin <grajcar1@seznam.cz>
Date
Oct 31, 2010, 05:47 UTC
Message-ID
<loom.20101031T064406-734@post.gmane.org>

I'd like to push all my branches and tags to the server, but for whatever reason "--all" ignores tags and is incompatible with "--tags". I could imagine there's a reason I'm not experienced enough to see?

It seems to me that "--mirror" is quite unusable, since it force-overwrites the remote repo and even deletes refs not locally present. Obviously, a mirror can't be shared, and it doesn't seem to me to be the ideal backup solution for a single person.

However, even if "git push -all -tags" worked, I'm not sure it's a good idea for project with more collaborators. There may be conflicts or other problems and quite often the pushing occurs just before leaving so it's no good time to start resolving conflicts. Can a shared repo be used as a sort of backup as well? I'd like a possibility to backup all my work there anytime without needing to care about anything. This could work by creating sort of private refs in case of any problems, or whatever. Is there something like this, or am I thinking astray? I'd suppose, something like this could be very useful for a company where it'd provide a simple backup solution for everybody.

Next: Tay Ray Chuan
Message 1 of 6 in “Pushing everything”
  1. MaaartinOct 31, 2010
  2. Tay Ray ChuanOct 31, 2010
  3. Andreas SchwabOct 31, 2010
  4. MaaartinOct 31, 2010
  5. Mathias LafeldtOct 31, 2010
  6. Konstantin KhomoutovOct 31, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.