Sign inSign up

cvagner/git-sim

By cvagner

•Updated over 3 years ago

git-sim

Image
0

923

cvagner/git-sim repository overview

⁠git-sim docker image

git-sim⁠ visually simulates Git operations in your own repos.

Links:

⁠Running

Get help with:

docker run --rm cvagner/git-sim

Example to get a video for a merge:

# Change dir to the root dir of your repo
cd my-git-repo

# Create git-sim_media with current user (once)
mkdir -p git-sim_media

# Here it creates a video for a merge
docker run --rm \
  -u $(id -u):$(id -g) \
  -v $(pwd):/app:ro \
  -v $(pwd)/git-sim_media/:/app/git-sim_media/ \
  cvagner/git-sim \
  \
  --animate merge <my-branch-name>

Open file shown in termial (remove /app/ which is path in docker). Example:

xdg-open ./git-sim_media/videos/1080p60/GitSimMerge.mp4

⁠Building

docker build --tag=cvagner/git-sim .

⁠Publishing

docker login
docker push cvagner/git-sim

Tag summary

Content type

Image

Digest

sha256:afa0b3bfb…

Size

862.1 MB

Last updated

over 3 years ago

docker pull cvagner/git-sim