jj/cli/src
Samuel Tardieu 6e72b1cfb0 git: add --remote option to clone command
This makes it easier to work with multiple remotes at once while
tracking the default branch of the remote used to create the local
repository:

```shell
$ jj git clone --remote upstream https://github.com/upstream-org/repo
$ cd repo
$ jj git remote add origin git@github.com:your-org/repo
$ jj config set --repo git.fetch upstream
```

In the example above, `upstream` is the repository containing the
reference source code that you might want to patch, while `origin` is
your fork where pull-request will be pushed. The branch `main@upstream`
will be tracked.
2024-09-13 18:14:57 +02:00
..
commands git: add --remote option to clone command 2024-09-13 18:14:57 +02:00
config docs: Remove trailing whitespace in markdown files 2024-09-13 13:06:28 +02:00
merge_tools cli: make paths to auto-track configurable, add jj track 2024-09-09 07:49:55 -07:00
cleanup_guard.rs formatting only: switch to Item level import ganularity 2024-08-22 14:52:54 -04:00
cli_util.rs cli: actually test if format_short_change_id() can be parsed 2024-09-13 21:59:35 +09:00
command_error.rs cli: update docs URLs to point to https://martinvonz.github.io/jj/latest/ 2024-09-06 09:22:04 +09:00
commit_templater.rs bookmarks: update some leftover uses of the word "branch" 2024-09-11 19:19:31 -07:00
config-schema.json config-schema: update stale push-branch-prefix config 2024-09-12 23:00:20 -07:00
config.rs cli: update docs URLs to point to https://martinvonz.github.io/jj/latest/ 2024-09-06 09:22:04 +09:00
description_util.rs cli: get repo path from WorkspaceCommandHelper, not from ReadonlyRepo 2024-09-07 12:20:02 -07:00
diff_util.rs diff: extract inter-diff helper 2024-09-07 09:09:27 +09:00
formatter.rs formatting only: switch to Item level import ganularity 2024-08-22 14:52:54 -04:00
generic_templater.rs cleanup: remove redundant ::{self} from use declarations 2024-08-23 13:05:27 +09:00
git_util.rs bookmarks: update some leftover uses of the word "branch" 2024-09-11 19:19:31 -07:00
graphlog.rs graphlog: inline node_template_for_key() 2024-09-06 09:51:10 +09:00
lib.rs next/prev: refactor movement utilities into cli/src/movement_utils.rs 2024-08-16 23:21:00 +01:00
main.rs
movement_util.rs next/prev: update error message when no movement targets are found. 2024-08-25 09:58:04 +01:00
operation_templater.rs cleanup: remove redundant ::{self} from use declarations 2024-08-23 13:05:27 +09:00
progress.rs formatting only: switch to Item level import ganularity 2024-08-22 14:52:54 -04:00
revset_util.rs bookmarks: update some leftover uses of the word "branch" 2024-09-11 19:19:31 -07:00
template.pest fileset, revset, templater: add support for single-quoted raw string literals 2024-04-25 11:14:33 +09:00
template_builder.rs cleanup: remove redundant ::{self} from use declarations 2024-08-23 13:05:27 +09:00
template_parser.rs cleanup: remove redundant ::{self} from use declarations 2024-08-23 13:05:27 +09:00
templater.rs formatting only: switch to Item level import ganularity 2024-08-22 14:52:54 -04:00
text_util.rs formatting only: switch to Item level import ganularity 2024-08-22 14:52:54 -04:00
time_util.rs formatting only: switch to Item level import ganularity 2024-08-22 14:52:54 -04:00
ui.rs formatting only: switch to Item level import ganularity 2024-08-22 14:52:54 -04:00