I have deleted the default.aspx.cs file in my local master branch by mistake.
Do I withdraw this file from my remote repository master?
If you have not phased or promised to delete then a simple one:
< Pre> git checkout - default.aspx.cs
will retrieve the file from the version in the index.
If you really have to go back to the version of Remote Master (which will only be different if you made other changes to the file before removing it or after that), you can do this:
GIT Checkout Main / Master - default.aspx.cs
No comments:
Post a Comment