README.md: Added rudimentary README containing my current cloning routine
This commit is contained in:
parent
adcf84966b
commit
a33364a94a
1 changed files with 10 additions and 0 deletions
10
.github/README.md
vendored
Normal file
10
.github/README.md
vendored
Normal file
|
@ -0,0 +1,10 @@
|
|||
# Gliech Dotfiles
|
||||
|
||||
## Replication
|
||||
```bash
|
||||
git clone -n --config core.bare=true --separate-git-dir=$HOME/.dotgit git@github.com:gliech/dotfiles.git $(mktemp -d)
|
||||
git --work-tree=$HOME --git-dir=$HOME/.dotgit reset HEAD
|
||||
git --work-tree=$HOME --git-dir=$HOME/.dotgit checkout -b $HOSTNAME
|
||||
git --work-tree=$HOME --git-dir=$HOME/.dotgit commit -am "Backed up pre-existing configs to local branch"
|
||||
git --work-tree=$HOME --git-dir=$HOME/.dotgit checkout master
|
||||
```
|
Loading…
Add table
Add a link
Reference in a new issue