Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

git fresh-branch deletes everything without asking. #142

Closed
kilianc opened this issue Oct 15, 2012 · 7 comments
Closed

git fresh-branch deletes everything without asking. #142

kilianc opened this issue Oct 15, 2012 · 7 comments

Comments

@kilianc
Copy link

kilianc commented Oct 15, 2012

I just lost 2 days of work.

@arian
Copy link

arian commented Oct 15, 2012

I just lost 2 days of work.

probably not, you can always git reflog.

@kilianc
Copy link
Author

kilianc commented Oct 15, 2012

yep but I was in a really dirty state :/

Kilian C.

On Monday, October 15, 2012 at 3:55 PM, Arian Stolwijk wrote:

I just lost 2 days of work.

probably not, you can always git reflog.


Reply to this email directly or view it on GitHub (#142 (comment)).

@tj
Copy link
Owner

tj commented Oct 15, 2012

just checkout master again, it's not gone

@kilianc
Copy link
Author

kilianc commented Oct 15, 2012

I had uncommitted changes, they are gone.

Kilian C.

On Monday, October 15, 2012 at 6:53 PM, TJ Holowaychuk wrote:

just checkout master again, it's not gone


Reply to this email directly or view it on GitHub (#142 (comment)).

@tj
Copy link
Owner

tj commented Oct 15, 2012

so you didn't commit in two days?

@kilianc
Copy link
Author

kilianc commented Oct 15, 2012

yep, same unfinished ticket, I know that's unusual/wrong and I am not complaining about that.

I just thought that it would be nice to have some sort of warning. It deletes untracked files too...

Kilian C.

On Monday, October 15, 2012 at 7:41 PM, TJ Holowaychuk wrote:

so you didn't commit in two days?


Reply to this email directly or view it on GitHub (#142 (comment)).

@tj
Copy link
Owner

tj commented Oct 15, 2012

i'd like to remove this command all-together personally but a warning would definitely be nice

andrewsomething added a commit to andrewsomething/git-extras that referenced this issue Mar 10, 2015
hemanth added a commit that referenced this issue Mar 10, 2015
git-fresh-branch: Check for changes and prompt for input before nuking. (Issue: #142)
@hemanth hemanth closed this as completed Mar 10, 2015
tardypad pushed a commit to tardypad/git-extras that referenced this issue Jul 13, 2016
tardypad pushed a commit to tardypad/git-extras that referenced this issue Jul 13, 2016
git-fresh-branch: Check for changes and prompt for input before nuking. (Issue: tj#142)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants