From 60de6e9c4967418c2bf8dac61ed77eb6e8548683 Mon Sep 17 00:00:00 2001 From: Adrian Date: Wed, 7 Nov 2018 15:35:06 -0500 Subject: [PATCH] Add tricks to go back to previous branch (#648) --- git-tricks.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/git-tricks.md b/git-tricks.md index 96e54dabd..171d9dfd5 100644 --- a/git-tricks.md +++ b/git-tricks.md @@ -28,6 +28,9 @@ category: Git # delete remote branch git push origin :$branchname + # go back to previous branch + git checkout - + ## Collaboration # Rebase your changes on top of the remote master