Developers often rely on a version control system and one of the most popular is Git.
Atom community provides us with plenty of Git packages and these are my favorites:
When terminal is not accessible or when I’m too lazy to open it, I use git-plus. git-plus package allows you to use most of the Git commands from Atom directly.
git-plus could be installed via package manager, the instructions could be found in the article First steps with Github Atom.
To configure git-plus package, Git path should be provided. Make sure to enter the path with actual Git file executable, like this
C:Program FilesGitbingit.exe. You could configure other options as per your preferences.
To use git-plus, press
ctrl + shift + p to open command-palette and type “git plus” — git-plus commands should appear. To open git-plus menu directly, use
ctrl + shift + h shortcut.
To see Git log in action, click on the little pin icon in a status bar.
tree-view-git-status package adds Git information in the Atom tree view.
Installation could be done via package manager. Configuration is straightforward, click on the option you prefer.
tree-view-git-status package is visible immediately in the tree view (if tree view is visible).
This package allows you to view history of the file.
Package is available on package manager. Configuration options are “Max Commits” and “Show Diff”, but you could leave it as it is.
To view file history, open command palette and type in “git history” and select “Git History: Show File History”. Shortcut is
ctrl + alt + h. In a dropdown menu select file version you want to see.
git-log helps you see pretty Git log directly from Atom.
This package is available on package manager. You could configure which font do you want to use and at which scale.
There is no shortcut for git-log, therefore you should use command palette and call “Git Log: Show” command.
Atom package manager has many Git packages. Which ones are your favorite?