arrow_upward

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
REVERT .GIT folder
#1
Hello guys!

Need your help, I got a .GIT folder and I want to REVERT it back to get all the file and download it.

Does anyone who are expert with GIT who can help me?

A guide or tutorial would be much appreciated.

Thanks a lot!
#2
git checkout 348ce0aa02d3738e55ac9085080028b548e3d8d3 -- path/to/the/folder/ ???

what do you mean exactly?
#3
@perryoo11 someone made project and posted it on GITHUB but due to recent DMCA he needs to removed it, so what he did for us to get a copy of that project is that he share his .GIT folder thru google drive and he said that we just need to revert it to get and download the files.

Here's the screenshot of his .GIT folder

[Image: bOMJ8w][Image: bOMJ8w][Image: git.png]
#4
You need to move the pack objects outside the .git/objects/pack directory before using the command. However, the pack files need to be inside the repository.

For example, create a directory name SAMPLE in your project's root. Then, move the pack files to SAMPLE directory. After that, inside the repository without the pack files,
use the command git unpack-objects < SAMPLE/*.pack. Git will generate all objects inside .git/objects directory of your repository.


person_pin_circle Users browsing this thread: 1 Guest(s)
Sponsors: VirMach - Host4Fun - CubeData - Evolution-Host - HostDare - Hyper Expert - Shadow Hosting - Bladenode - Hostlease - RackNerd - ReadyDedis - Limitless Hosting