From 695e7e19ba38e9ba5643d6a1ea16999c80e0c120 Mon Sep 17 00:00:00 2001 From: Anchal Date: Wed, 15 Jul 2015 22:56:22 +0530 Subject: [PATCH] undo local changes --- tips.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tips.json b/tips.json index e9ac28b..519396e 100644 --- a/tips.json +++ b/tips.json @@ -42,5 +42,9 @@ { "title": "Delete remote branch", "tip": "git push origin :remote_branchname" + }, + { + "title": "Undo local changes with the last content in head", + "tip": "git checkout -- file_name" } ]