Ensure to restore all previous content
This commit is contained in:
parent
15405d7d36
commit
5e84f4da5f
|
@ -28,6 +28,8 @@ if [ -d ~/.git ] && [ $(command -v git) ]; then
|
|||
if [ ! -f "${HOME}"/.gitconfig ]; then
|
||||
printf '%b\n' "Please enter Git login to get the remote homedir content"
|
||||
git pull
|
||||
### Ensure to recover all content
|
||||
git restore .
|
||||
fi
|
||||
fi
|
||||
## }}}
|
||||
|
|
|
@ -28,6 +28,8 @@ if [ -d ~/.git ] && [ $(command -v git) ]; then
|
|||
if [ ! -f "${HOME}"/.gitconfig ]; then
|
||||
printf '%b\n' "Please enter Git login to get the remote homedir content"
|
||||
git pull
|
||||
### Ensure to recover all content
|
||||
git restore .
|
||||
fi
|
||||
fi
|
||||
## }}}
|
||||
|
|
Loading…
Reference in New Issue