I attempted to rollback to a previous commit and apparently I screwed up. So I need to recover.
Fortunately I did a stash; but after applying it I got the following error:
error: Your local changes to the following files would be overwritten by merge:
Bliss.storyboard
Bliss2.xcodeproj/project.pbxproj
Bliss2/(3.0)DiscoveryViewController.swift
Bliss2/(3.6)Contribute.swift
Bliss2/(3.7)CameraContribute.swift
Bliss2/Environment.swift
Please, commit your changes or stash them before you can merge.
Aborting
So I stashed again. Here's my stashes:
$~/workarea/bliss/Bliss2:git stash list
stash@{0}: WIP on RicBranch: e3cb317 Revert "Linked up BlissThoughts & hidden toggle for (3.6) TextView" Temp go back and see old
stash@{1}: WIP on RicBranch: 40e664a Creation of (3.10) DiscoveryUploadViewController.
So I tried this and got the same error:
$~/workarea/bliss/Bliss2:git stash apply #1
error: Your local changes to the following files would be overwritten by merge:
Bliss.storyboard
Bliss2.xcodeproj/project.pbxproj
Bliss2/(3.0)DiscoveryViewController.swift
Bliss2/(3.6)Contribute.swift
Bliss2/(3.7)CameraContribute.swift
Bliss2/Environment.swift
Please, commit your changes or stash them before you can merge.
Aborting
$~/workarea/bliss/Bliss2:git commit -m 'Committed garbage'
On branch RicBranch
Changes not staged for commit:
deleted: ../(3.6)TableViewCell.xib
modified: ../Bliss.storyboard
modified: ../Bliss2.xcodeproj/project.pbxproj
modified: (3.0)DiscoveryViewController.swift
modified: (3.6)Contribute.swift
modified: (3.7)CameraContribute.swift
modified: Environment.swift
no changes added to commit
$~/workarea/bliss/Bliss2:git stash apply #1
error: Your local changes to the following files would be overwritten by merge:
Bliss.storyboard
Bliss2.xcodeproj/project.pbxproj
Bliss2/(3.0)DiscoveryViewController.swift
Bliss2/(3.6)Contribute.swift
Bliss2/(3.7)CameraContribute.swift
Bliss2/Environment.swift
Please, commit your changes or stash them before you can merge.
Aborting
$~/workarea/bliss/Bliss2:
Here's a snapshot of where I'm at. I want to rollback to 'RicBranch':
I'm trying to rollback to the 'clean' commit: the (3.10) commit.
But Git keeps saying I must do another commit/stash.
All I want to do is to rollback to my previous HEAD, before all this mess occurred.
How to I do a pop to original HEAD or apply the 2nd Stash (version 3.10)?