From 2854d48c2dea75b3c7f0eac02ea86da3dd79a8e6 Mon Sep 17 00:00:00 2001 From: David Carpenter Date: Mon, 24 Oct 2016 15:49:37 +0100 Subject: [PATCH] [#37][#17] Some more useful git things --- tools/git.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tools/git.md b/tools/git.md index f261a45..7b33dbc 100644 --- a/tools/git.md +++ b/tools/git.md @@ -29,6 +29,13 @@ we want to collect - e.g. the different ways of identifying a commit - tags, branches, HEAD~2, hash, short hash 0 for use with the git diff etc. +### Push to 2 remotes at once + +http://stackoverflow.com/questions/14290113/git-pushing-code-to-two-remotes#answer-14290145 + +`git remote set-url --add` + + ## Flow chart of steps if you mess up git commits http://justinhileman.info/article/git-pretty/