Lost track remote branch [git tip]

  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!!

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

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s