vim-fugitive like package for atom. make commits and other git things without the terminal
IMPORTANT: Make sure your gitconfig file is configured or at least your user.email
and user.name
variables are initialized
Cmd-Shift-H
on MacOSCtrl-Shift-H
on Windows + LinuxGit Plus: Menu
on the atom command palette.
Note: This list is not exclusive
Git add [all]
Git add will add the current file and 'add all' will add all changed files
Default key binding: Cmd-Shift-A
Git add all commit and push
Cmd-Shift-A P
Git commit
Will pull up a commit message file. The commit will be made when the file is saved NOT when the pane is closed. You can just cancel by closing the tab.
Default key binding: Cmd-Shift-C
(Ctrl-Shift-X
on Windows + Linux)
Git commit amend
Will amend the changes to previous commit.
Git checkout current file
Undo changes and checkout current file.
Git [checkout]
Change branches
Git Diff [All]
Shows diff for current file or All the files. Diff can either be with staged or unstaged as selected in options.
Git new branch
Create a new branch
Git [push|pull]
When Pushing, if you have multiple remote repos, you can choose which to push to.
10. Git Add and Commit
Add the current file and pull up the commit message file. Similar to Git add
and Git commit
in succession.
Default key binding: Cmd-Shift-A c
Git Add All and Commit
Add all changed files and pull up the commit message file. Similar to Git add all
and Git commit
in succession.
Default key binding: Cmd-Shift-A a
Git rm [current file]
Git rm the current file or open an selector to select the files to remove. You can select multiple files at once.
Git Log [Current File]
Show the commit history [for the current file] and show display the selected commit.
Git Show
Show the specified object, for example HEAD
, HEAD~2
, 3925a0d
, origin/master
or v2.7.3
.
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request