17 lines
250 B
Markdown
17 lines
250 B
Markdown
|
```
|
||
|
git init --bare $HOME/.dotfiles
|
||
|
```
|
||
|
|
||
|
```
|
||
|
alias dotfiles='/usr/bin/git --git-dir=$HOME/.dotfiles --work-tree=$HOME'
|
||
|
```
|
||
|
|
||
|
```
|
||
|
dotfiles config --local status.showUntrackedFiles no
|
||
|
```
|
||
|
|
||
|
```
|
||
|
dotfiles add .bashrc
|
||
|
dotfiles commit -m ".bashrc added"
|
||
|
```
|