mirror of
https://github.com/tiyn/dotfiles.git
synced 2025-04-01 17:07:45 +02:00
Update README.md
This commit is contained in:
parent
214e893d39
commit
98c29026c1
12
README.md
12
README.md
@ -2,20 +2,20 @@
|
|||||||
My Arch Linux dotfiles. Most of them are personalized variants of the LARBS dotfiles files
|
My Arch Linux dotfiles. Most of them are personalized variants of the LARBS dotfiles files
|
||||||
|
|
||||||
## Migration of my dotfiles to other system
|
## Migration of my dotfiles to other system
|
||||||
###set alias in .bashrc
|
### set alias in .bashrc
|
||||||
```alias config='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'```
|
```alias config='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'```
|
||||||
###clone this repository
|
### clone this repository
|
||||||
```git clone --bare https://github.com/TiynGER/.dotfiles $HOME/.dotfiles```
|
```git clone --bare https://github.com/TiynGER/.dotfiles $HOME/.dotfiles```
|
||||||
###checkout changes
|
### checkout changes
|
||||||
```config checkout```
|
```config checkout```
|
||||||
###backup old files
|
###backup old files
|
||||||
```mkdir -p .config-backup && \
|
```mkdir -p .config-backup && \
|
||||||
config checkout 2>&1 | egrep "\s+\." | awk {'print $1'} | \
|
config checkout 2>&1 | egrep "\s+\." | awk {'print $1'} | \
|
||||||
xargs -I{} mv {} .config-backup/{}
|
xargs -I{} mv {} .config-backup/{}
|
||||||
```
|
```
|
||||||
###checkout changes
|
### checkout changes
|
||||||
```config checkout```
|
```config checkout```
|
||||||
###set showUntrackedFiles to no
|
### set showUntrackedFiles to no
|
||||||
```config config --local status.showUntrackedFiles no```
|
```config config --local status.showUntrackedFiles no```
|
||||||
###pull current setup
|
### pull current setup
|
||||||
```config pull```
|
```config pull```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user