Jump to content
  • 0
nanakiwurtz

Help about Github

Question

I have forked from main repository, and when I clone it using the application, it always failed because my net connection isn't stable.

I have tried to download the repo by using the 'Download as a zip' button and have unpacked them on a folder, but when I tried to detect the repo by using the application, it can't find it. So I think the zip file isn't completely downloaded.

So I'd like to ask for help.

 

1. Is there another way to clone the repo?

2. Does my fork repo gets updated automatically when the master data got changed?

3. Can I freely move my local repo folder?

4. If I'd like to work on particular file, does I need to clone whole repo?

 

I think those are my questions for now, thank you for any assistance ;)

Share this post


Link to post
Share on other sites

6 answers to this question

Recommended Posts

  • 0

Have you tried with the TortoiseGit and the official GitHub tool?

 

2.- the repostory isn't auto-updated.. You will have to do merges sometimes manually if you have custom things.. So is almost the same as SVN

 

3.- If you used TortoiseGit you can.. (It's like tortoise svn but you also need msvsgit.. Or something like that.. Up there in the top bar of buttons click on Others and you will see the post of Getting Hercules..)

else no

 

4.- Yes.. I think.. Well, I never did something like that xD

Share this post


Link to post
Share on other sites
  • 0

Hi nanakiwurtz!

 

I have bad news regarding your questions, sorry!

 

  1. As far as I know, getting Hercules as a ZIP file just downloads the last snapshot of the project (with UNIX line endings) without any capabilities of using it with Git. As I said, that's just the snapshot. Sadly, I don't know any other means of cloning a project other dan issuing a Git clone.Git clone clones the repository and its whole history so you have it all on your computer; that's why it's so slow.
  2. No, it doesn't, and there's an easy reason for this: forks are either meant to work on them and make pull requests, or independently working on them for your purposes. If an update was automatically applied when you're working on your fork, strange things would happen, isn't it? For updating your fork, you can refer to this post, second FAQ question provided you use TortoiseGit.
  3. If you mean moving the local repo folder as changing its location on your PC, no problem as far as I know. I've moved them myself on my PC without any problem.
  4. I don't know any other means of doing this.

Hope I helped, despite the bad news!

Share this post


Link to post
Share on other sites
  • 0

Could you please post the error here? Let's see what happens there. I'm no Git expert, but hope your code and a bit of Google use can throw up an answer!

Share this post


Link to post
Share on other sites
  • 0

If you're using TortoiseGit, you should have msysGit installed before installing it. This is a random advice, but maybe you overlooked this?

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.