Skip to content

Commit 3a94040

Browse files
authored
Merge pull request #247 from MahboubehSeyedpour/master
feat: add git restore as alternative to git checkout --
2 parents c870d1d + aef050d commit 3a94040

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)