Nobody knows what “git” means actually.
The name “git” was given by Linus Torvalds when he wrote the very first version. He described the tool as “the stupid content tracker”
In fact, “git” may mean “Great for IT”.
I used Atom editor today. I wanted to set Atom to work with Git.
I worked with git from the command line and needed to level-up.
The Atom support for git is not perfect at the moment.
I found that after few checks.
Atom has only a few out-of-the-box features important for the git process.
These features you need to enable from the core packages.
Git integration link is a good reference.
About the git config files
In git, you have few places where you store your config variables.
There is a global system level file that can store config info.
There is user level file that stores the information (
git config -g).
And there is project level storage (that would be
git config without the
Prepare for the push
Before even dig into Atom we configure ssh-keys to work for us later for the
ssh-keygen -t rsa -b 4096 -C "email@example.com" Enter a file in which to save the key (/Users/you/.ssh/id_rsa): [Press enter] Enter passphrase (empty for no passphrase): [Type a passphrase] Enter same passphrase again: [Type passphrase again]
Copy the new ssh account to your Github account, and make sure you execute
Note you may need to add to .git/config file.
[push] default = simple
You can add the previous line either to the local config file or the users config file.
git config push.default simple
git config --global push.default simple
The reason behind you may track in the following image:
Note: In this article, I worked with SSH Repo links that you may find in your .git/config file.
[remote "origin"] url = firstname.lastname@example.org:username/link_to_your_repo.git
Note: The very first push you will need to add your keyphrase again.
Let’s roll Atom
Lastly, we install the great
apm install git-plus
There is a CTRL+SHIFT+H command COMMAND+SHIFT+H on Mac where you can do execute all the commands.