Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Where the local commits are saved?

JaquelineMoura February 3, 2021

Hi,

I need to find some local commits from an old HD. 

Where are it?

Please, help me find it.

SO: Windows 10

1 answer

0 votes
Soumyadeep Mandal - SaM
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 5, 2021

Hi @JaquelineMoura ,

Welcome to the Atlassian Community!

Please read and follow this article and I hope it will be helpful

https://medium.com/better-programming/how-to-remove-committed-files-from-git-version-control-b6533b8f9044

JaquelineMoura February 5, 2021

Hi, thanks for trying to help. 

But my need is the opposite of that.

I need to find my commits (in a previous HD) to push on remote repository.

 

I already tried just copy the folder and open into my SourceTree without success, the commits wasn't found.

Like Soumyadeep Mandal - SaM likes this
Soumyadeep Mandal - SaM
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 5, 2021

Hi @JaquelineMoura ,

You have to find the commits in the project folder & .git files.

and also have a look at the sourcetree installed location. If you still can't find it then you might have deleted the commits somehow and can't be recovered as those were local commits.

If you want, you can ask Atlassian Support

Like JaquelineMoura likes this
JaquelineMoura February 5, 2021

Thank you, I will search for .git files.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events