How to fork

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

How to fork

Thomas Koch
Hi,

I just wonder, that neither the official Git manual, nor the kernel
hackers guide to git describe the best practice to fork a project.

My use case: There is an existing git repo

git clone http://git.el-tramo.be/wigit.git

which I want to fork. The original code should live in a separate branch
in my local git repo (not master) so that I can still merge in changes.

The result of my changes should be posted to my server.

Could somebody be so kind to show me the list of commands which I'd
need?

Thanks a lot,
--
Thomas Koch, Software Developer
http://www.koch.ro

Young Media Concepts GmbH
Sonnenstr. 4
CH-8280 Kreuzlingen
Switzerland

Tel    +41 (0)71 / 508 24 86
Fax    +41 (0)71 / 560 53 89
Mobile +49 (0)170 / 753 89 16
Web    www.ymc.ch
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to [hidden email]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Reply | Threaded
Open this post in threaded view
|

Re: How to fork

Matthieu Moy
Thomas Koch <[hidden email]> writes:

> I just wonder, that neither the official Git manual, nor the kernel
> hackers guide to git describe the best practice to fork a project.

Well, in Git, technically, any clone is a fork. The difference between
a contributor's repository and a forker's is social, not technical (I
usually define "fork" as a branch where one of the projects has no
intention of merging the other's changes).

So, just clone and publish (push) your changes, and you're done.

Or, ask a more precise question, I may have missed something ;-).

--
Matthieu
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to [hidden email]
More majordomo info at  http://vger.kernel.org/majordomo-info.html