aitía
aitía

Reputation: 215

How to organize folders on a repo?

On my repo hosted on Github I have uploaded my files and it now resembles the following:

folders

I would like if these folders were to appear in the same way as they appear on my desktop.

To specify in Numerical order,

1, 2, 3, 4, 5, 6, 7 ... 100

My research on accomplishing this, revealed this feature has yet to be implemented (ex, ex, ex).

According to the following stack question:

How do you control the order in which files appear in a GitHub gist

The folders are by default sorted in ASCIIbetical order.

Upvotes: 0

Views: 996

Answers (1)

VonC
VonC

Reputation: 1329692

The folders are by default sorted in ASCIIbetical order.

Exactly what I mentioned indeed.

That means you need to come up with a different naming convention, which would allow the natural sorting order you are after.

Example:

001
010
011
012
100

And, as I mentioned here, you can rename a file directly on GitHub if you want.

Upvotes: 3

Related Questions