[vlc-devel] Git activated

Pierre d'Herbemont pdherbemont at free.fr
Sun Mar 2 03:13:48 CET 2008


We have been switching to git.

You are strongly encouraged to play a bit with the vlc-sandrox prior  
to commit on vlc.git if you don't know git.

__ Committing something to vlc-sandrox.git __

$ git config --global user.name "Your Name"
$ git config --global user.email "me at example.com"
$ git clone git at git.videolan.org:vlc-sandrox.git
$ cd vlc-sandrox
$ echo "Add me!" >> test
$ git commit -a
$ git push # This actually send your changes

__ Cloning vlc.git __
$ git clone git at git.videolan.org:vlc.git

__ Committing *locally* __
$ git commit -a

__ Keeping in sync __
To keep in sync use:
$ git pull --rebase
(This put all your commit on top of trunk)
(You can set a flag for that, see the wiki or git pull --help)

__ Committing to a branch __
$ git push master:remotebranch

I think that should be enough to bootstrap.

Be sure to read
(Set git in color, use git rebase -i, use git bisect, etc...)

and complete wiki.videolan.org/Git  with whatever helped you,



1) git at videolan.org sends commit emails to vlc-devel at videolan.org.  
Someone may need to add it to the list of subscribers.
2) buildbot and trac are going to move to git by tomorrow.

More information about the vlc-devel mailing list