Skip to content

Commit 695e7e1

Browse files
committed
undo local changes
1 parent 081dc01 commit 695e7e1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tips.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,5 +42,9 @@
4242
{
4343
"title": "Delete remote branch",
4444
"tip": "git push origin :remote_branchname"
45+
},
46+
{
47+
"title": "Undo local changes with the last content in head",
48+
"tip": "git checkout -- file_name"
4549
}
4650
]

0 commit comments

Comments
 (0)