Skip to content

Instantly share code, notes, and snippets.

@superboum
Created March 14, 2023 14:56
Show Gist options
  • Save superboum/11fcc69ce47ae80d3b346655ec6c4227 to your computer and use it in GitHub Desktop.
Save superboum/11fcc69ce47ae80d3b346655ec6c4227 to your computer and use it in GitHub Desktop.
git get specific commit
mkdir mydest ; cd mydest
git init
git remote add origin https://git.deuxfleurs.fr/Deuxfleurs/garage.git
git fetch origin 703ac43f1c7c0538ac72a06afc16ad182c3aaba1
git checkout 703ac43f1c7c0538ac72a06afc16ad182c3aaba1 -b branch_name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment