MaatDeamon
MaatDeamon

Reputation: 9761

How to do some manual Git Update of a forked project?

(New to Git and Github)

Hi,

For a project that i'm developing i am depending on a project that needs to be adapted. While the source of the project are available for download, it sounds like it is not available on SVCS repository such as Git or SVN.

Hence, I was wondering how in that context shall i aim at updating my fork. Can i just download the new source every time (in a separate folder*) and try to update my local Git repository of that project, from that folder* ?

What should be the right workflow for that ?

Many thanks,

M

Upvotes: 0

Views: 30

Answers (1)

Vernard Luz
Vernard Luz

Reputation: 291

You will be managing your own dependencies.

If the source of your dependency is unavailable, I recommend doing it this way:

  • Create blank repository and put their code there.
  • All updates in this project will be put in this repository.
  • If I have a dependency management tool that can use VCS, I'd depend on this repository.
  • If not, I'll add this repository as submodule.

You can track the changes in that dependency project separately. This is useful if you use that dependency on multiple projects.

Upvotes: 1

Related Questions