docs: move subtree section
This commit is contained in:
parent
59928f6906
commit
5a5330760c
20
.README.md
20
.README.md
@ -65,16 +65,6 @@ skelfiles checkout
|
||||
lazygit --git-dir=$HOME/.dotfiles --work-tree=$HOME
|
||||
```
|
||||
|
||||
# Install remotes as subtree
|
||||
|
||||
- <https://www.atlassian.com/git/tutorials/git-subtree>
|
||||
- Create an alias for remote repository
|
||||
- `dotfiles remote add <remote-name> <URL>`
|
||||
- Import remote as a single commit (squashed)
|
||||
- `dotfiles subtree add --prefix <target-folder> <remote-name> <branch> --squash
|
||||
- Note 1: Must be called from $HOME
|
||||
- Note 2: Do not start <target-folder> with $HOME or ~
|
||||
|
||||
# Every-day Tools
|
||||
|
||||
Recommended installation order:
|
||||
@ -97,6 +87,16 @@ Recommended installation order:
|
||||
|
||||
See <https://specifications.freedesktop.org/desktop-entry-spec/latest/>
|
||||
|
||||
### GIT remotes as subtree
|
||||
|
||||
- <https://www.atlassian.com/git/tutorials/git-subtree>
|
||||
- Create an alias for remote repository
|
||||
- `dotfiles remote add <remote-name> <URL>`
|
||||
- Import remote as a single commit (squashed)
|
||||
- `dotfiles subtree add --prefix <target-folder> <remote-name> <branch> --squash
|
||||
- Note 1: Must be called from $HOME
|
||||
- Note 2: Do not start <target-folder> with $HOME or ~
|
||||
|
||||
### Github Patches
|
||||
|
||||
From [stackoverflow](https://stackoverflow.com/questions/28484186/apply-github-commit-pull-request-as-a-patch).
|
||||
|
Loading…
x
Reference in New Issue
Block a user