Lost track remote branch [git tip]

All
Intro 
  I remember I deleted the local branch AND I COULDN’T FIND IT!! It was only on the remote.
So what I’ve done? I basically lost track of it.
Tracking a remote branch
    What I did was to delete my local branch and create again using the track option:
git checkout –track origin/daves_branch
      That’s magic, you will get local branch straight from the origin!!
Ref

[1] https://stackoverflow.com/questions/9537392/git-fetch-remote-branch

Leave a comment