From 20dc20e9ae6f1db7d831c9158185cde5eb3e19d0 Mon Sep 17 00:00:00 2001 From: Leonard Martin Date: Mon, 28 Jul 2014 23:36:06 +0100 Subject: [PATCH] Add note about "care" when force-pushing It wasn't obvious exactly how a user should "be careful" when force-pushing. Being explicit about what exactly it is important to take care to do can improve confidence in the process. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e8b9ec5..9c34a60 100644 --- a/README.md +++ b/README.md @@ -172,7 +172,7 @@ hint: 'git pull ...') before pushing again. hint: See the 'Note about fast-forwards' in 'git push --help' for details. ``` -Since rebasing **replaces the old commit(s) with a new one**, you must force push (`-f`) your changes. Be careful when you do this! +Since rebasing **replaces the old commit(s) with a new one**, you must force push (`-f`) your changes. Be careful when you do this - *always* make sure you specify a branch! ``` (mybranch) $ git push origin mybranch -f