Flakes: Difference between revisions
imported>Sedlund m reword |
imported>Sedlund m apparently there an order to the comments I missed. |
||
Line 88: | Line 88: | ||
# Git URL, can be used for any Git repository based on https/ssh protocol | # Git URL, can be used for any Git repository based on https/ssh protocol | ||
git-example.url = "git+https://git.somehost.tld/user/path?ref=branch&rev=fdc8ef970de2b4634e1b3dca296e1ed918459a9e"; | git-example.url = "git+https://git.somehost.tld/user/path?ref=branch&rev=fdc8ef970de2b4634e1b3dca296e1ed918459a9e"; | ||
# The example above will also copy .git, use this for (shallow) local Git repos | |||
git-directory-example.url = "git+file:/path/to/repo?shallow=1"; | |||
# You have a local copy of a git fork and are working on a new branch | # You have a local copy of a git fork and are working on a new branch | ||
forked-git-flake.url = "git+file:/home/user/forked-flake?branch=feat/myNewFeature" | forked-git-flake.url = "git+file:/home/user/forked-flake?branch=feat/myNewFeature" | ||
# Local directories (for absolute paths you can omit 'path:') | # Local directories (for absolute paths you can omit 'path:') |