Deploy to GIT


#1

Hello,

Stumbled across, atom.io

Is it possible for atom to auto deploy to git?


#2

Please describe more about what you’re looking for. If the question is, “is it possible?” the answer is almost always, “Yes.” That’s not usually very helpful, though. We can be more helpful if you explain about what you hope to accomplish.


#3

Hey,

My Apologies.

So I was looking to see if atom can auto deploy my code etc direct to Git so I don’t have to do it separately in terminal, is that possible and how do I set it up?


#4

Certainly. If you go to (Menu bar) -> Packages -> GitHub -> Toggle Git Tab, you will see a commit interface, and the arrows on the status bar below that are for pushing and pulling.


#5

Okay, thank you. This makese sense now. The next question, i’m assuming your git folder you “Add a project folder” in Atom. How do you specify, the git settings to know which repo etc to push too? Sorry if this is silly just trying to get to grips with it.


#6

Correct, Atom can recognize a repo if there’s a .git/ folder inside one of the folders you have added as project folders. Atom will push to the origin remote. If you have multiple remotes for your repository, I don’t think that Atom will let you choose between them.