Skip to content

How to push/commit when you have downloaded the master? #21816

Discussion options

You must be logged in to vote

Hey @rosie000, usually when you download as a zip, it’s just a full copy of the code but it’s not connected to the main repo itself. The proper way to collaborate is to git clone the repo and then make your changes to it. With that said, a potential workaround that I have had to use myself a few time is as follows: 

  1. Git Clone the repo’s master branch to a known location on your computer (like the Desktop).

  2. Open up file explorer or finder and then move the “.git” folder from your cloned version into the top level of the version you downloaded via zip. This should then automatically make git see the changes. 

  3. From there, you can use the command line (by navigating into that folder) or…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants