Skip to content

Instantly share code, notes, and snippets.

@Dillie-O
Created September 18, 2019 20:20
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 Dillie-O/459e1cdd9b3677d1ed6cd96f0c56d893 to your computer and use it in GitHub Desktop.
Save Dillie-O/459e1cdd9b3677d1ed6cd96f0c56d893 to your computer and use it in GitHub Desktop.
[Clone Git Repo Without History] Clone Git repo without history #bash #git
mkdir -p [path_to_new_directory] && git archive master | tar -x -C [path_to_new_directory]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment