Skip to content

Instantly share code, notes, and snippets.

@theeluwin
Last active July 19, 2022 07:14
Show Gist options
  • Select an option

  • Save theeluwin/8d122ea4c8d59a51a4c51a1738284711 to your computer and use it in GitHub Desktop.

Select an option

Save theeluwin/8d122ea4c8d59a51a4c51a1738284711 to your computer and use it in GitHub Desktop.
clone everything, everything
mkdir repo
cd repo
git clone --bare path/to/repo.git .git
git config --unset core.bare
git reset --hard
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment