Flakes: Difference between revisions
imported>Sedlund m added example of developing a new branch of a forked git flake |
imported>Sedlund m reword |
||
| 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"; | ||
# You | # 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" | ||
# The example above will also copy .git, use this for (shallow) local Git repos | # The example above will also copy .git, use this for (shallow) local Git repos | ||