You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 8d60043
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: docs/commands/repos.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,8 @@
2
2
3
3
Clone repositories into a structured local directory or create new ones.
4
4
5
+
If you want standard `git clone` destination behavior, use [`f clone`](clone.md) instead.
6
+
5
7
## Overview
6
8
7
9
`f repos clone` clones GitHub repositories into `~/repos/<owner>/<repo>` using SSH URLs. By default it does a shallow clone for speed, then fetches full history in the background. It always sets up an `upstream` remote and local tracking branch unless you pass `--no-upstream`.
Copy file name to clipboardExpand all lines: docs/index.mdx
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,7 @@ High-signal docs for the Codex/Claude workflow:
15
15
-[`ci-cd-runbook.md`](ci-cd-runbook.md): CI/CD architecture, runner-mode operations, and failure debug checklist for canary/release pipelines.
16
16
-[`rise.md`](rise.md): full integration guide for installing and operating Rise via Flow (`f install rise`) across adopt/sync/dev/mobile/schema/sandbox workflows.
17
17
-[`commands/domains.md`](commands/domains.md): shared local `*.localhost` proxy ownership via `f domains` (prevents per-repo port-80 collisions).
18
+
-[`commands/clone.md`](commands/clone.md): git-like cloning (`f clone`) with GitHub URL/shorthand normalization to SSH, without forcing `~/repos`.
Copy file name to clipboardExpand all lines: src/cli.rs
+13Lines changed: 13 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -512,6 +512,11 @@ pub enum Commands {
512
512
long_about = "Publish the current project. Without a subcommand, shows a fuzzy picker to choose the target."
513
513
)]
514
514
Publish(PublishCommand),
515
+
#[command(
516
+
about = "Clone a repository into the current directory (git clone style).",
517
+
long_about = "Clones into the current working directory by default, matching git clone destination behavior. GitHub inputs are normalized to SSH URLs."
518
+
)]
519
+
Clone(CloneOpts),
515
520
#[command(
516
521
about = "Clone repositories into a structured local directory.",
517
522
long_about = "Clone repositories into ~/repos/<owner>/<repo> with SSH URLs and optional upstream setup for forks."
0 commit comments