Get the basic functionality of
git clone, but if the destination Git repository already exists it will force-reset it to resemble a clone of the remote. Part ofgit-extras. More information: https://github.com/tj/git-extras/blob/master/Commands.md#git-force-clone.
git force-clone {{remote_repository_location}} {{path/to/directory}}
git force-clone {{[-b|--branch]}} {{branch_name}} {{remote_repository_location}} {{path/to/directory}}
git force-clone {{[-b|--branch]}} {{branch_name}} {{remote_repository_location}} {{path/to/directory}}