Hi I’m using Atom 1.34.0 and am trying to link Atom to a new github account.
I have retreived my token and go to the Github panel in Atom to enter the token but have no entry fields
Can anyone help?
Thanks
Hi I’m using Atom 1.34.0 and am trying to link Atom to a new github account.
I have retreived my token and go to the Github panel in Atom to enter the token but have no entry fields
There is a difference between Git and GitHub.
git remote -v
in the command line (make sure the current working directory is the root of the repo you want to check).git remote add <paste link>
(replace <paste link>
with the link; it might look like git remote add https://github.com/Aerijo/atom-languageclient
)It’s difficult to provide better instructions without knowing your familiarity with git and the command line.
Thanks for the help. I’m new to Github and atom:
I’m following this simple video - from 1:30 is about where I think its relevant.3:00 is where it mentions entering the login token in Atom - which I dont see.
Thanks
First, you have to open a repository that has a remote located on GitHub.
I have a repository on GitHub - but dont know how to link it to the project in Atom. I thought the Token entry was the way to do it? When does the Token entry show or should I be trying to link to my Github in a different way. Followed the video for this process.
Thanks!
The token entry has nothing to do with linking your local repository to the remote (remember what @Aerijo said about git not being the same thing as GitHub). It only logs you into GitHub so that you can see pull requests in the GitHub tab. You don’t need the token to perform standard git actions like committing. What matters to Atom is the remote
setting on the local repository.
Do you have git installed? If not, you should remedy that. Then I can help you, but first you need to tell me about your local folder and GitHub, specifically whether you have made any files in them yet.
If the files you want to edit are all on GitHub, the easy way to get to where you want to be is to clone the repo, which you can do inside Atom (you don’t even need git installed, but it’s a good idea anyway).
If the files are all on your computer and the remote is empty, you can open the command line and run git remote add origin && git add . && git commit -m "Initial commit" && git push --set-upstream origin master
to put it all on GitHub.
Edit: Think of it as America versus the United States of America. They aren’t the same thing, but the US is the most visible tenant. This is a case where you need to identify which features are a part of the web site GitHub, which belong to the Atom editor, and which ones are a part of the software that the developer Linus Torvalds called “git”, apparently as a self-derisive jest.