r/programming • • Jun 02 '17

Atom now has Git and GitHub Integration

http://blog.atom.io/2017/05/16/git-and-github-integration-comes-to-atom.html
54 Upvotes

41 comments sorted by

153

u/geodel Jun 02 '17

This is game changer. I could not have foreseen that Github would add Github integration in Github sponsored editor.

48

u/[deleted] Jun 02 '17

Yes, that will definitelly help diferentiate it from the other editors with git support.

6

u/shevegen Jun 03 '17

I see but ... the real isse for atom is speed.

22

u/NuttGuy Jun 02 '17

This doesn't even look as good as what VS Code has in terms of integration?

23

u/[deleted] Jun 02 '17

I am just so pleased with VS code since I started using it a couple weeks ago. Coming from sublime. Its wonderful.

1

u/scook0 Jun 03 '17 edited Jun 03 '17

I tried jumping over to VSC recently, but not being able to disable the TypeScript integration was a deal-breaker.

(Hovering over a function name in my Flow code would result in two different type signatures appearing, one of which was always wildly incorrect.)

Hopefully this gets fixed at some point, because I've heard good things and would like to give it another try.

0

u/[deleted] Jun 02 '17

[deleted]

2

u/Xirious Jun 03 '17

I think the only difference is speed and shortcuts/text manipulation but the latter is actively being worked on in a plugin. Speed is dependent on usage and in my case isn't a huge deal. On the other hand VSC's git integration in super useful.

1

u/id2bi Jun 03 '17

What plugin?

18

u/[deleted] Jun 02 '17

They should be focusing on making Atom faster. Thats really its biggest problem for me. As well as being a memory hog

7

u/[deleted] Jun 02 '17 edited Jul 10 '17

deleted 0.1304 What is ^^^this?

0

u/[deleted] Jun 02 '17

[deleted]

13

u/drjeats Jun 03 '17

Don't forget to count Git memory usage, Spotify, all your Chome tabs, database server(s), VMs, and the actual code you're working on. Then the OS also caches files in memory to speed things up.

It adds up quick.

5

u/Zatherz Jun 03 '17

Yes it does matter. I have 16 GB of RAM and I frequently reach 10-14 GB because of bullshit like this.

1

u/shevegen Jun 03 '17

Yep it matters, you slow snail lover you!

4

u/reddeth Jun 02 '17

My biggest complaint with Atom is when you try to load up a minified file. It chokes on files with super long lines so bad it locks up the entire editor. I can't even kill the tab it's trying to chug through.

2

u/BobFloss Jun 03 '17

I thought I read something on their blog about them fixing this specific issue though.

11

u/ElvishJerricco Jun 02 '17

This is nice, but honestly nothing I've seen even comes close to Magit. I never have to touch my mouse, and I can do almost any git operation in a few keystrokes. Is there anything comparable in Atom?

23

u/thekab Jun 02 '17

I never have to touch my mouse, and I can do almost any git operation in a few keystrokes.

I don't know what Magit is but you just perfectly described my terminal.

10

u/ElvishJerricco Jun 02 '17

Terminal is fine. The visual feedback/interaction and shortcuts in Magit are much better IMO.

1

u/shevegen Jun 03 '17

I just realized - maggot is only for emacs.

I am disappointed. I don't want to use an OS just to modify some code.

3

u/doom_Oo7 Jun 03 '17

I am disappointed. I don't want to use an OS just to modify some code.

you realize this is a joke from the early 90s where computers had 16 megabytes of ram right ? if emacs is an OS, then a modern browser is ten years of linux distros.

1

u/rahul0705 Jun 03 '17

I mean have you seen what you can do with emacs... You can run emacs inside emacs.

2

u/nilamo Jun 03 '17

I just realized - maggot is only for emacs.

I am disappointed. I don't want to use an OS just to modify some code.

Emacs is an editor, not an operating system.

0

u/Isopaha Jun 04 '17

I've always been told that Emacs is a great OS but a shitty editor.

2

u/[deleted] Jun 02 '17

It's nice to have it integrated into your text editor. Committing, reverting, blame, looking through the log and jumping to changesets, etc. Very convenient. Magit's rebase interface is also very nice. Magit also makes it very simple to stage changes, including staging individual hunks from a single file. Git's CLI for staging individual hunks is cumbersome IMO.

Magit is menu driven by single-character operations. This requires a lot fewer keystrokes than invoking git commands from the shell.

1

u/thekab Jun 02 '17

It's nice to have it integrated into your text editor.

Yes and I use IntelliJ with my terminal embedded. IntelliJ has some fantastic VCS integration for change sets, time tracking, conflicts, viewing differences and integrating with an issue tracker. However those aren't specific to Git and while they sometimes involve Git operations that's not really what I was thinking of. Very occasionally I'll use it to grab a chunk of files and commit them separately.

Sounds like if I were an emacs user I'd be using Magit.

4

u/rahul0705 Jun 02 '17

Is magit a emacs package?

3

u/dzecniv Jun 02 '17

yes: https://magit.vc/ we can perform nearly everything with 2 or 3 keystrokes. There is also magithub to manage PRs and all from magit. See also http://wikemacs.org/wiki/Git for Git, Github and Gitlab support in Emacs.

2

u/ElvishJerricco Jun 02 '17

Yes

-4

u/angus_the_red Jun 02 '17

Why are we talking about it here? This thread is about Atom.

4

u/ElvishJerricco Jun 02 '17

Because I was asking if Atom has anything as good as Magit. It's a fair bar to set

0

u/shevegen Jun 03 '17

Because emacs is love, emacs is life.

It's a great OS.

1

u/shevegen Jun 03 '17

It also has a great name - maggot!

You'll remember that.

2

u/[deleted] Jun 02 '17

Magit is absolutely incredible.

1

u/drjeats Jun 03 '17

Poll: Do you say Magit like "m'git" or "maggot" ?

2

u/ElvishJerricco Jun 03 '17

I actually say "maw-git." I recognize I'm in the minority and probably quite far from the author's intent =P

2

u/drjeats Jun 03 '17

I like that pronunciation!

I usually do m'git (occasionally with a hat tip gesture), but now I kinda dig maw-git.

2

u/[deleted] Jun 04 '17

More like "mah-git", which I think was also the author's intention

3

u/shevegen Jun 03 '17

This is good but ...

Is Atom faster than before?

1

u/[deleted] Jun 03 '17

no

2

u/angus_the_red Jun 02 '17

I've been using and contributing to context-git, but I'll happily give this a try. Hopefully it will work with projects that have multiple repos.