• Skip to content
  • Skip to secondary menu
  • Skip to primary sidebar

PROGRAMMING REVIEW

Slow catching the programming trends

  • [ Home ]
  • [ NPM quiz ]
  • [ WPCli quiz ]
  • [ Sass Quiz ]
  • [ Git Quiz ]
  • [Plugins check]
  • [ WordPress Blog ]
  • Word of caution

Atom editor basic Git successful experiment

October 24, 2016 ⌛ Tagged With: atom, git, github

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 -g option).

Prepare for the push

Before even dig into Atom we configure ssh-keys to work for us later for the push command.

ssh-keygen -t rsa -b 4096 -C "your_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 ssh-add.

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:git

Note: In this article, I worked with SSH Repo links that you may find in your .git/config file.

[remote "origin"]
 url = git@github.com: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 git-plus package:
apm install git-plus

There is a CTRL+SHIFT+H command COMMAND+SHIFT+H on Mac where you can do execute all the commands.

Related posts:

  1. Good Linux command prompt
  2. Atom editor menu and Context menu
  3. Nginx config files
  4. Disable INNODB and gain little more memory for your web server
  5. BitBucket GIT from simple Command Line
  6. Code Injection prevention – user names
  7. Basic Nginx HTTP server architecture tips
  8. Official way to install Sublime text editor on Ubuntu

Tagged With: atom, git, github

Previous Post: « The code endings
Next Post: AST is a must »

Primary Sidebar

My Q&A site profile

profile for prosti on Stack Exchange, a network of free, community-driven Q&A sites

WordPress related stuff

[ WordPress Blog ]
[ WordPress plugins check ]

More profiles

Linked In
GitHub
GitHub blog
Android Quiz apps

Tags

.htaccess android atom babel cdn centos command line csharp css database debug DreamWeaver eclipse ecommerce es5 es6 git google html javascript js Laravel linux metaknowledge mysql nginx node.js npm online-tools perl php python react reactjs scripting security servers sql server system admin tips and tricks tools ubuntu vim web standards youtube

PROGRAMMING REVIEW

☂ since 2010