SquaredTiki / Dringend-Issues

Public issue tracker for the Dringend app, an iPad dev environment
dringend.cc
16 stars 0 forks source link

How to discard/stash commits? #80

Open lmumar opened 9 years ago

lmumar commented 9 years ago

Hello again,

There are instances that you don't want to push your commits to github, if I had a terminal I would just do git checkout , in dringend how to do that? The problem is pulling changes from your repo will cause an error. There's also no way to stash currently what you are doing.

Thanks

SquaredTiki commented 9 years ago

Are you wanting to revert to a previous commit then and then pull from the remote repo? Unfortunately it's not possible to stash changes at present, I'll count that as a feature request though and shall certainly look into it.

Josh

lmumar commented 9 years ago

There are two scenarios:

Thanks

SquaredTiki commented 9 years ago

Thanks very much for describing the situations. I'll look into implementing stashing and reverting in a future update. Apologies they are not available at present.

Josh (📱)

On 24 Sep 2014, at 02:56, Lord Norlan Mumar notifications@github.com wrote:

There are two scenarios:

I want to pull changes from other developer without commiting my changes first. For that I would have to stash my changes, pull from the repo and stash apply my changes on top I want to discard all my changes and just revert to the previous commit. Thanks

— Reply to this email directly or view it on GitHub.

dgileadi commented 9 years ago

I'd like to add my vote to this request. Right now I have two files changed on my iPad, one of which I changed and one of which is an .xcscheme file and so which I can't change. I can't pull, since I have pending changes, and I can't revert, so I'm stuck.

SquaredTiki commented 9 years ago

@dgileadi Thanks for adding your vote for the request, I'll make this a priority for the next update. Do you not wish to commit the changes and would rather discard them and revert to the last commit?

dgileadi commented 9 years ago

Exactly, I'd like the ability to discard uncommitted changes and revert them to the last commit.

On Jun 5, 2015, at 5:04 PM, Joshua Garnham notifications@github.com wrote:

@dgileadi Thanks for adding your vote for the request, I'll make this a priority for the next update. Do you not wish to commit the changes and would rather discard them and revert to the last commit?

— Reply to this email directly or view it on GitHub.

SquaredTiki commented 9 years ago

@dgileadi Got it, will look into this for the next update.