From 993ff457d2ec17417cfa0c0aa228b8a6b042670f Mon Sep 17 00:00:00 2001 From: marc Date: Sat, 2 Nov 2019 09:15:33 +0100 Subject: [PATCH] README corrected --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 895b9b4..7cac9d5 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,15 @@ # Initialization +```sh git init --bare $HOME/dotfiles alias dot="/usr/bin/git --git-dir=$HOME/dotfiles/ --work-tree=$HOME" (add this to .zshenv or .bashrc) dot config --local status.showUntrackedFiles no git remote add origin https://gitea.cloudpshere.duckdns.org/marc/dotfiles.git git remote -v +``` # Usage +```sh dot add /path/to/file dot commit -m "some message" dot push +```