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
with_temp_working doesn't appear to do anything #280
Comments
Hi Jason, A couple of things to have in mind:
From Git Commit Docs:
So, checking out a branch will update the index reference, no matter wher Checking out files is a different story. You can try to play with *with_temp_index *in you want to leave the Regards,Roberto Decurnex On Thu, Mar 3, 2016 at 3:28 PM, Jason Antman notifications@github.com
|
Ok, thanks, sorry for my confusion. I'm still sort of unclear about what Thanks. I'm working on an alternate solution to my problem now; I'll close this once I have it solved (and comment with a bit about what I was trying to do, and how I did it). |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I'm trying to use
.with_temp_working
but it doesn't appear to actually do anything.If I have a small ruby script in a directory that's a git clone, and it does:
When the script exits, I would expect my directory to be untouched, i.e. exactly as it was before. However,
pwd
seems to have had "mybranch" checked out.As far as I can tell,
with_temp_working
is either completely unfinished, or I'm very confused about how it's supposed to work...The text was updated successfully, but these errors were encountered: