fsprojects / ProjectScaffold

A prototypical .NET solution (file system layout and tooling), recommended for F# projects
http://fsprojects.github.io/ProjectScaffold
The Unlicense
515 stars 154 forks source link

Clear git history when remote does not end in .git #316

Closed rmunn closed 6 years ago

rmunn commented 6 years ago

Fixes #315. When the ProjectScaffold repo is cloned via copy-and-paste from the browser's address bar, its remote ends up looking like https://github.com/fsprojects/ProjectScaffold (without .git at the end). This PR ensures that that URL will be matched when deciding whether to erase ProjectScaffold history in the initial project setup phase.