Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
Thread: GIT: Undoing Delete
04-30-2014, 11:56 AM #1
- Join Date
- Jun 2006
- Thanked 3 Times in 3 Posts
GIT: Undoing Delete
I will put up my question in a very simple scenario to help you guys understand what I actually wanna achieve.
The following is my Repo Structure on github and localmachine
Repo-1 - Master - Bugs/LoginFix
After which Bugs/LoginFix was merged to master and Bugs/LoginFix was deleted from github. After which we had to delete Login.php from master for some reason.
I still have Bugs/LoginFix in my local machine. So I ran the following command
> git checkout Bugs/LoginFix > git pull origin master
How do I un-delete Login.php on my local machine?