Question

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?

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top