silhouette hustler
silhouette hustler

Reputation: 1763

How to create new repository without saving old commits in SourceTree?

I deleted repository from bookmarks, also deleted it from server.

But when I create new repository from my project destination folder it's keeping all the commits I've made in past. Why is that happening ?

Upvotes: 0

Views: 71

Answers (1)

CodeWizard
CodeWizard

Reputation: 142352

In terminal/bash

you can simply create new repository from terminal :

git init

Or if you wish to use the old one - delete the git folder and then type git init

From with in source tree

enter image description here

And then click on the Create new repository tab enter image description here

Upvotes: 1

Related Questions