Added almost everything
This commit is contained in:
parent
fca3b93dd5
commit
03a9749b46
15 changed files with 135 additions and 0 deletions
7
3-post-reboot/pull-config.sh
Executable file
7
3-post-reboot/pull-config.sh
Executable file
|
@ -0,0 +1,7 @@
|
|||
git clone --bare https://gitea.olympuslab.net/afonso/dotfiles /home/afonso/dotfiles
|
||||
alias config='/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME'
|
||||
mkdir -p .config-backup && \
|
||||
config checkout 2>&1 | grep -E "\s+\." | awk {'print $1'} | \
|
||||
xargs -I{} mv {} .config-backup/{}
|
||||
config checkout
|
||||
config remote set-url origin ssh://git@gitea.olympuslab.net:522/afonso/dotfiles
|
Loading…
Add table
Add a link
Reference in a new issue