Readme updated for new repo

server
TiynGER 4 years ago
parent b54b02965e
commit 72967e65a9

@ -1,4 +1,3 @@
# .dotfiles # .dotfiles
My Server and root account dotfiles. My Server and root account dotfiles.
@ -23,17 +22,17 @@ My Server and root account dotfiles.
### 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/.dotfilesserver $HOME/.dotfiles``` ```git clone --bare https://github.com/TiynGER/.dotfiles $HOME/.dotfiles```
### checkout changes ### checkout changes
```config checkout``` ```config checkout server```
### 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 server -f```
### 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 --set-upstream origin server```

Loading…
Cancel
Save