We help IT Professionals succeed at work.
Get Started

how to get local commited file if it is deleted from the git branch

srikotesh asked
Last Modified: 2019-12-09
Hi Experts,

Git branch

i have added changes in one called -->Test.java
i have commited the file locally but not pushed to branch.
i have deleted same from my local-but not commited after deleting the file-so file is available in repository.

Now i am looking for a delted file which is having local commit.
tortoise-git-show log
i am able to see my local file

1.can some one suggest how to get that file (deleted file which is having local commit)

2.if i want to get header version file ( i mean before local commit changes) how to get it.
Watch Question
This question hasn't been answered yet.
While you wait, find out how you can maximize your capability with the most trusted tool in IT.
Explore More Ask a Question
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE