in Git by
What work is restored when the deleted branch is recovered?

1 Answer

0 votes
The files which were stashed and saved in the stash index list will be recovered back. Any untracked files will be lost. Also, it is a good idea to always stage and commit your work or stash them.

Course Curriculum

DevOps Certification Training

Instructor-led SessionsReal-life Case StudiesAssignmentsLifetime Access

If you want to fetch the log references of a particular branch or tag then run the command – “git reflog <ref_name>”.

Related questions

+1 vote
asked Jul 25, 2019 in Git by SakshiSharma
0 votes
asked Jan 9, 2021 in Git by SakshiSharma
0 votes
asked Aug 16, 2020 in Git by RShastri