diff --git a/profile.archlinux b/profile.archlinux index 8829b22..7de67f2 100644 --- a/profile.archlinux +++ b/profile.archlinux @@ -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 ## }}} diff --git a/profile.debian b/profile.debian index 90284e6..9b53eb4 100644 --- a/profile.debian +++ b/profile.debian @@ -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 ## }}}