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

1 Answer

0 votes
by
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

0 votes
asked Feb 13, 2022 in Git by rajeshsharma
0 votes
asked Aug 24, 2023 in Git by JackTerrance
...