-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Failing to push through Android studio #2345
Comments
My first guess would be that you have an out-of-date version of Git for Windows installed, as "failed to restrict file handles" was a commonly-reported issue from a few releases back. If so, you likely just need to install the latest version. If you try running |
My guess is that the credential helper is disabled for some reason (and yes, we should not show that warning in that case, but we haven't had any luck to figure out what is going wrong yet, there is simply too little information to go on). Also: it is not the best idea to delete the bug reporting template. It is designed to help provide better reports, and I think it would have helped here. The problem could be related to the Windows version, for example. |
It might make sense to give calling |
dscho, this is what I get

I read this in a text-only mail program. Screenshots are quite
cumbersome for me.
Besides, it is time that I turn in for the night, hopefully others will
have splendid ideas how to help you and chime in!
|
dscho, I didn't think of that, I apologize. The image was just this: For the moment, I'm ok with pushing through the bash shell, |
there was some discussion on the g-f-w google group https://groups.google.com/forum/#!forum/git-for-windows e.g. https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!msg/git-for-windows/Jl9KG91-Zag/ndARHCfECAAJ |
Contrary to that case, git does not ask me for credentials whenever I clone, push etc through the git bash shell and everything works fine. The problem occurs only in the Android studio when I'm trying to push, although I have put already my username & password at Settings --> Version Control -->GitHub |
Sorry, I have no idea how to debug this. If it works in Git Bash, and not in Android Studio, it strikes me as a bug in IntelliJ rather than Git for Windows, too... |
Yes, it is quite strange. Thank you for trying though. |
@dscho reading your previous comments and searching about it, I finally managed to find the solution. I had to go to File --> Settings --> Git and check the "Use credential helper" checkbox. |
I am glad you found it, and equally happy that you let us know! Now other users hitting the same snag have a chance to find your solution. As the problem is solved for now, let's close this ticket? |
Hello, I'm new to this community and I need some help.
I'm trying to push a local Android project through Android studio to a Github repo and this is the message I get at the event log:
Push failed
Warning: failed to restrict file handles (87)
handle #0: 0000000000000144 (type 3, handle info (1) 0
handle #1: 00000000000001b4 (type 3, handle info (1) 1
handle #2: 0000000000000a54 (type 3, handle info (1) 1
This is a bug; please report it at
https://github.com/git-for-windows/git/issues/new
To suppress this warning, please set the environment variable
SUPPRESS_HANDLE_INHERITANCE_WARNING=1
remote: Repository not found.
Authentication failed for 'https://github.com/doraba/my-application.git/'
What should I do?
The text was updated successfully, but these errors were encountered: