mirror of
https://github.com/martinvonz/jj.git
synced 2024-12-28 23:55:54 +00:00
d481001271
This commit starts adding support for working with a Jujube repo's underlyng Git repo (if there is one). It does so by adding a command for pushing from the Git repo to a remote, so you can work with your anonymous branches in Jujube and push to a remote Git repo without having to switch repos and copy commit hashes. For example, `jj git push origin main` will push to the "main" branch on the remote called "origin". The remote name (such as "origin") is resolved in that repo. Unlike most commands, it defaults to pushing the working copy's parent, since it is probably a mistake to push a working copy commit to a Git repo. I plan to add more `jj git` subcommands later. There will probably be at least a command (or several?) for making the Git repo's refs available in the Jujube repo. |
||
---|---|---|
.. | ||
protos | ||
src | ||
tests | ||
build.rs | ||
Cargo.toml |