Ali Tahir
Ali Tahir

Reputation: 21

I have deleted the master branch of a project by mistake

I have deleted the remote master branch by mistake and now I don't have local code and i am getting out of my mind because all the team code was in that branch. Please help me i am stuck very bad.

Upvotes: 0

Views: 436

Answers (1)

Vendel Serke
Vendel Serke

Reputation: 135

In this case, I think the only thing you can do is to ask around your teammates, if someone has the local branch. From there, you can restore / push it to wherever your remote branch was originally.

Upvotes: 2

Related Questions