From 08507db7f52027c83ea41e3316749ea7279017ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gregor=20B=C3=BCckendorf?= Date: Thu, 10 Jan 2019 12:36:58 +0100 Subject: [PATCH] README.md: Added provisional user credentials to the initial commit command on a local backup branch --- .github/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/README.md b/.github/README.md index d391211..836ccf1 100644 --- a/.github/README.md +++ b/.github/README.md @@ -5,7 +5,7 @@ git clone -n --config core.bare=true --separate-git-dir=$HOME/.dotgit git@github.com:gliech/dotfiles.git $(mktemp -d) git --work-tree=$HOME --git-dir=$HOME/.dotgit reset HEAD git --work-tree=$HOME --git-dir=$HOME/.dotgit checkout -b $HOSTNAME -git --work-tree=$HOME --git-dir=$HOME/.dotgit commit -am "Backed up pre-existing configs to local branch" +git --work-tree=$HOME --git-dir=$HOME/.dotgit -c user.name="$USER" -c user.email="${USER}@${HOSTNAME}" commit -am "Backed up pre-existing configs to local branch" git --work-tree=$HOME --git-dir=$HOME/.dotgit checkout master ``` @@ -35,6 +35,6 @@ git --work-tree=$HOME --git-dir=$HOME/.dotgit checkout master - add proper status messages to vim-plug install - install vim plugins - missing executables warnings - - environment templates? + - environment templates? (git.env!) - fix the umask