Skip to content

Commit aef050d

Browse files
Add git restore as alternative to git checkout --
1 parent 049de43 commit aef050d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎tips.json‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@
135135
{
136136
"title": "Undo local changes with the content in index(staging)",
137137
"tip": "git checkout -- <file_name>",
138+
"alternatives": ["git restore <file_name>"],
138139
"category": "Basic Operations"
139140
},
140141
{

0 commit comments

Comments
 (0)