Skip to content

Instantly share code, notes, and snippets.

@Dillie-O
Created September 18, 2019 20:20
Show Gist options
  • 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