EEVblog® Electronics Community Forum
A Free & Open Forum For Electronics Enthusiasts & Professionals
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
This topic
This board
Entire forum
Google
Bing
Home
Help
Search
About us
Links
Login
Register
EEVblog® Electronics Community Forum
»
Products
»
Computers
»
Programming
»
git clone vs download zip from github
« previous
next »
Print
Search
Pages: [
1
]
Go Down
Author
Topic: git clone vs download zip from github (Read 5464 times)
0 Members and 1 Guest are viewing this topic.
RoGeorge
Super Contributor
Posts: 8581
Country:
git clone vs download zip from github
«
on:
April 03, 2023, 09:32:23 am »
For this webpage
https://github.com/esp8266/esp8266-wiki/wiki
If i download the zip file from Code -> Download ZIP button in
https://github.com/esp8266/esp8266-wiki
, I don't get the docs seen in the webpage
https://github.com/esp8266/esp8266-wiki/wiki
, but if I get the wiki by
git clone
https://github.com/esp8266/esp8266-wiki.wiki.git
then I get the docs.
I was expecting for the zip download to pack the same files as a
git clone
would retrieve, but in this case each method retrieves a totally different content. Both downloads are from the same github repository:
https://github.com/esp8266/
Why so? I thought zip download is for those who don't have git, same files in different format.
Logged
https://hackaday.io/RoGeorge
https://rogeorge.wordpress.com
eutectique
Frequent Contributor
Posts: 638
Country:
Re: git clone vs download zip from github
«
Reply #1 on:
April 03, 2023, 09:44:44 am »
You are retrieving different branches, perhaps?
Logged
gamalot
Super Contributor
Posts: 1962
Country:
Correct my English
Re: git clone vs download zip from github
«
Reply #2 on:
April 03, 2023, 12:33:38 pm »
Wiki is not part of the code, you can see it from the tabs on GitHub's repository page.
Logged
I'm a poet, I didn't even know it. |
https://youtube.com/@gamalot
|
https://github.com/gamalot
The following users thanked this post:
RoGeorge
RoGeorge
Super Contributor
Posts: 8581
Country:
Re: git clone vs download zip from github
«
Reply #3 on:
April 03, 2023, 12:57:55 pm »
Doh, I was not aware about the separation, thanks!
Logged
https://hackaday.io/RoGeorge
https://rogeorge.wordpress.com
alm
Super Contributor
Posts: 2903
Country:
Re: git clone vs download zip from github
«
Reply #4 on:
April 03, 2023, 01:06:55 pm »
There are two git repos:
Under the code tab:
https://github.com/esp8266/esp8266-wiki.git
Under the wiki tab:
https://github.com/esp8266/esp8266-wiki.wiki.git
(note the extra .wiki)
The former contains what's under the code tab, and the second what's under the wiki tab. The option to download a zip file is only available under the code tab. I figured non-developers, who can't use git, or build scripts / package managers, are more likely to download the code rather than the wiki.
In this case it's confusing because both repos contain documentation, but probably in a different format or different contents.
Logged
Linux-GPIB packages for current Ubuntu versions
The following users thanked this post:
RoGeorge
Print
Search
Pages: [
1
]
Go Up
« previous
next »
Share me
Smf
EEVblog® Electronics Community Forum
»
Products
»
Computers
»
Programming
»
git clone vs download zip from github
There was an error while thanking
Thanking...
-
-
-
-->
EEVblog® Main Site
EEVblog® on Youtube
EEVblog® on Twitter
EEVblog® on Facebook
EEVblog® on Odysee