2

I followed these 2 instructions and downloaded the compressed file.

  1. Visit your account settings page.
  2. Click "Start export" in the "Export account data" section.

I can see the folders like this.

branches
hooks
info
logs
objects
refs
config
description
HEAD
packed-refs

But I do not see the files in any of the folders. Am I missing something?

shantanuo
  • 31,689
  • 78
  • 245
  • 403

2 Answers2

2

The "Requesting an archive of your personal account’s data" is clear.
This is about metadata, not data.

GitHub stores repository and profile metadata from your personal account's activity.
You can export your personal account's data through settings on GitHub.com or with the User Migration API.

You can see another export example here: metadata only, no files.

This dates from 2018:

The archive will contain your profile data, plan, and any email addresses connected with your account in addition to the issues, pull requests, comments, reviews, releases, projects, events, attachments, milestones, and settings for each of your repositories—along with basic information about the users who have interacted with them.

Other services, like GitLab, have their own process to import GitHub repositories.

Or you can clone them all in one line, make a bundle for each one, and store those files (one per repository) wherever you want.

VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
0

There is no problem with your process.

First: Check if your zip app works correctly and can extract it. Here is a link that sometimes zip can't extract files and shows empty folders.

Second: Maybe a problem with GitHub. Try it again hope it will help. I have some problems with Github too, and I don't know what happened to Github nowadays.

Edit
Make sure that the size shows in GitHub match the size of the downloaded folders. enter image description here

Naveed Hematmal
  • 343
  • 4
  • 17