Giter Site home page Giter Site logo

Credentials on Linux about atom-git-control HOT 9 OPEN

jacogr avatar jacogr commented on July 17, 2024
Credentials on Linux

from atom-git-control.

Comments (9)

SerenadeX avatar SerenadeX commented on July 17, 2024

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.

archer884 avatar archer884 commented on July 17, 2024

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.

SerenadeX avatar SerenadeX commented on July 17, 2024

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.

SerenadeX avatar SerenadeX commented on July 17, 2024

Granted it would be nice to get this working with http and ssh...

from atom-git-control.

hellerbarde avatar hellerbarde commented on July 17, 2024

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.
    • For Gnome, use gnome-keyring, here are git integration instructions
    • For KDE use Kwallet, here are git integration instructions

I think this issue can be closed, because saving the credentials in Atom would be a "bad idea (tm)"

from atom-git-control.

MarcelMue avatar MarcelMue commented on July 17, 2024

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.

archer884 avatar archer884 commented on July 17, 2024

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.

hellerbarde avatar hellerbarde commented on July 17, 2024

@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.

MarcelMue avatar MarcelMue commented on July 17, 2024

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:
Cosnole
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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.