mirror of
https://github.com/aquatix/dotfiles.git
synced 2025-12-06 21:45:10 +01:00
Set git worktree so repo can be in another dir as git is greedy and takes everything in the homedir under its scope - see http://jasonkarns.com/blog/versioning-dotfiles-with-git/
This commit is contained in:
@@ -4,6 +4,11 @@ dotfiles
|
|||||||
After having my homedirs in subversion for years, move to Git.
|
After having my homedirs in subversion for years, move to Git.
|
||||||
|
|
||||||
```
|
```
|
||||||
|
mkdir ~/.dot
|
||||||
|
clone --no-checkout <url>
|
||||||
|
git config core.worktree="../../../"
|
||||||
|
git checkout master
|
||||||
|
cd
|
||||||
sh install.sh
|
sh install.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user