Skip to content

Instantly share code, notes, and snippets.

@BrunoGomesCoelho
Created August 29, 2019 18:40
Show Gist options
  • Save BrunoGomesCoelho/b8d569535479a20e8868977b011a058d to your computer and use it in GitHub Desktop.
Save BrunoGomesCoelho/b8d569535479a20e8868977b011a058d to your computer and use it in GitHub Desktop.
Clone non-empty folder
# taken from https://stackoverflow.com/a/20538655
git init
git remote add origin PATH/TO/REPO
git fetch
git checkout -t origin/master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment