Project

General

Profile

Actions

Git » History » Revision 1

Revision 1/10 | Next »
Adam Sutton, 2013-02-01 11:41


Git for TVH Dummies

As I get quite a few people asking me what the right way to work with git is, in particular in relation to submitting patches upstream, I thought it might be a good idea to write a quick wiki entry to help with some common tasks.

I'm also fairly new to git, I'd only touched it occasionally before getting involved in Tvheadend, but I've now been using it solidly for about a year. So while I'm by no means an expert, I'll at least point out some of the things I've learnt over that year.

Github

Tvheadend hosts its primary repository on github, this is a useful community site as not only does it provide basic git hosting but also some useful tools for managing the project. This includes the ability for users to create public forks, submit Pull Requests (PRs) and to comment on commits and other things.

The main project page can be found at https://github.com/tvheadend/tvheadend.

If you don't intend to actively contribute to the development you can simply clone the repository for the purpose of Building and the rest of this article is probably not relevant. However should you later decide you do want to push stuff back upstream then there are some useful hints below.

Forking

The first thing you should do if you intend to actively develop and push features/fixes upstream is to create a public fork on github (you can use other services, but it won't fit as well with the general project workflow and the Team may get grumpy!).

To create the fork simply click on the fork icon

Updated by Adam Sutton almost 12 years ago · 1 revisions