Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@bilke
Last active June 19, 2020 11:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bilke/3475512b331a90bdfb58a6cfc153ca90 to your computer and use it in GitHub Desktop.
Save bilke/3475512b331a90bdfb58a6cfc153ca90 to your computer and use it in GitHub Desktop.
OpenGeoSys: Migrate from lfs to git
cd ogs
git lfs untrack '*.jpg'
git add --renormalize .
git commit -m '[git] Converted jpg from lfs to git.'
git lfs untrack '*.png'
git add --renormalize .
git commit -m '[git] Converted png from lfs to git.'
git lfs untrack '*.pdf'
git add --renormalize .
git commit -m '[git] Converted pdf from lfs to git.'
git lfs untrack '*.vtu'
git add --renormalize .
git commit -m '[git] Converted vtu from lfs to git.'
git lfs untrack '*.pvtu'
git add --renormalize .
git commit -m '[git] Converted pvtu from lfs to git.'
git lfs untrack '*.smesh'
git add --renormalize .
git commit -m '[git] Converted smesh from lfs to git.'
git lfs untrack '*.3dm'
git add --renormalize .
git commit -m '[git] Converted 3dm from lfs to git.'
git lfs untrack '*.fem'
git add --renormalize .
git commit -m '[git] Converted fem from lfs to git.'
git lfs untrack '*.ele'
git add --renormalize .
git commit -m '[git] Converted ele from lfs to git.'
git lfs untrack '*.node'
git add --renormalize .
git commit -m '[git] Converted node from lfs to git.'
git lfs untrack '*.msh'
git add --renormalize .
git commit -m '[git] Converted msh from lfs to git.'
git lfs untrack '*.gml'
git add --renormalize .
git commit -m '[git] Converted gml from lfs to git.'
git lfs untrack '*.vti'
git add --renormalize .
git commit -m '[git] Converted vti from lfs to git.'
git lfs untrack '*.vtp'
git add --renormalize .
git commit -m '[git] Converted vtp from lfs to git.'
git lfs untrack '*.bin'
git add --renormalize .
git commit -m '[git] Converted bin from lfs to git.'
git lfs untrack '*.pvtu*'
git add --renormalize .
git commit -m '[git] Converted pvtu* from lfs to git.'
git lfs untrack '*.gif'
git add --renormalize .
git commit -m '[git] Converted gif from lfs to git.'
git lfs untrack '*.mp4'
git add --renormalize .
git commit -m '[git] Converted mp4 from lfs to git.'
git lfs untrack '*.nc'
git add --renormalize .
git commit -m '[git] Converted nc from lfs to git.'
git lfs untrack 'web/resources/_gen/**/*.content'
git add --renormalize .
git commit -m '[git] Converted web/resources/_gen from lfs to git.'
git lfs untrack '*.sg'
git add --renormalize .
git commit -m '[git] Converted sg from lfs to git.'
git lfs untrack '*@@'
git add --renormalize .
git commit -m '[git] Converted @@ from lfs to git.'
cd ..
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment