Comments (9)
Are you using an ssh-key? I am running on a mac and do all of my clones over ssh and I never have a problem
from atom-git-control.
No, I wasn't. Right after I posted this, it occurred to me that I might be able to avoid that problem entirely by using ssh auth instead of using my password. It works like a charm.
I didn't close this issue because I figure every other windows guy on earth is going to run into the same problem at some point. (Because who could resist installing this on their toy linux install and playing with it, right?)
edit: Not that I have a problem with someone else closing it at all!
from atom-git-control.
I can't stand using http for my git stuff. Even if I'm on windows I'll generate an ssh key just so I don't have to worry about username/password
from atom-git-control.
Granted it would be nice to get this working with http and ssh...
from atom-git-control.
For the record:
- On Windows, there is https://gitcredentialstore.codeplex.com/ for saving git creds on https:// repos
- For Linux, there are multiple credential stores. It depends on your Desktop Environment.
I think this issue can be closed, because saving the credentials in Atom would be a "bad idea (tm)"
from atom-git-control.
I agree that credentials being saved in git-control are a bad idea. Unfortunately the question pops up quite alot as users that are new to git aren't familiar with the way credentials work.
from atom-git-control.
OK, I've seen a lot of replies about storing credentials, but, if I am
remembering correctly, the problem was that I had to go enter the
credentials at the command line (which I should have said instead of "the
hard way") because, at least when I opened this, there was no way to do it
from within git-control.
On Sat, Jul 18, 2015, 3:32 AM Bricktop [email protected] wrote:
I agree that credentials being saved in git-control are a bad idea.
Unfortunately the question pops up quite alot as users that are new to git
aren't familiar with the way credentials work.—
Reply to this email directly or view it on GitHub
#42 (comment)
.
from atom-git-control.
@MarcelMue yes, git-control should be able to enter the credentials. Which currently it isn't able to, right? But it shouldn't store them. Maybe as soon as we can enter credentials, there should be a note next to the form that mentions setting up proper git credential storage. What do you think?
@archer884 You are correct. The real bug is that we can't even enter any credentials for HTTPS. And that does indeed need to be addressed. I think there was something about the library used for calling git that made this hard. but I don't exactly remember the details..
from atom-git-control.
Yes, sorry I just skimmed this thread again when writing my earlier response and misunderstood the problem. I think the problem was that the credentials are entered in a console something like this:
And the npm package (git-promise) used in git-control does not support comands that don't start with "git" IIRC.
I think the credentials can be applied directly to the command but I am not sure about it as I have a keystore set up myself :(
Any pull requests about this whole console issue are very welcome, I looked at other atom packages and using a buffered process ( see https://github.com/akonwi/git-plus/blob/master/lib/git.coffee for reference ) looks way superior to the way git-control does it currently.
I personally don't have the time to do major changes ( even though I tried multiple times ) because of real life obligations. I mainly support others that want to contribute or have issues with git-control currently. I (or someone else) will hopefully get around to implementing the switch to a buffered process some time.
So the bottom line is contributions are welcome :D
from atom-git-control.
Related Issues (20)
- Uncaught Error: Command failed: ls `git rev-parse --git-dir` | grep rebase || echo norebase"ls" ...
- copy text from the git control logger or diff views / panes. Feature request / enhancement.
- Unable to set correct project folder
- No credential popup for non github git servers
- Unable to write commit message started with #
- Uncaught TypeError: Cannot read property 'local' of undefined
- Uncaught TypeError: Cannot read property 'split' of undefined HOT 6
- cannot resize information pane HOT 1
- Uncaught TypeError: Path must be a string. Received undefined HOT 4
- Uncaught TypeError: Cannot read property 'split' of undefined HOT 10
- Uncaught TypeError: this.setworkspacetitle is not a function HOT 2
- Uncaught TypeError: Cannot read property 'workingDirectory' of null
- Uncaught TypeError: Cannot read property 'split' of undefined HOT 36
- Cannot read property 'split' of undefined HOT 1
- Unexplained disappearance
- Cannot spawn /usr/bin/ssh.exe HOT 1
- Deprecated? HOT 7
- Uncaught TypeError: Cannot read property 'split' of undefined HOT 36
- Git-control GUI from Atom GUI HOT 1
- Error with a bitbucket repository
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from atom-git-control.