Frage

I know how to do it with SVN, but they've moved to Git.

The command for getting the newest version as described on their site is

git clone git://source.ffmpeg.org/ffmpeg.git ffmpeg

What would be the appropriate arguments for getting a specific revision?

War es hilfreich?

Lösung

In the cloned repository run:

git checkout <hash>

To return to the master branch run:

git checkout master

To find a particular hash you can use:

git log

or browse FFmpeg commits online.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top