Skip to content

vim-fugitive like package for atom. make commits and other git things without the terminal

License

Notifications You must be signed in to change notification settings

Broetchen1234/git-plus

 
 

Repository files navigation

Git-Plus package

endorse

vim-fugitive like package for atom. make commits and other git things without the terminal

A screenshot of your spankin' package

Usage

IMPORTANT: Make sure your gitconfig file is configured or at least your user.email and user.name variables are initialized

Git-Plus Palette

  • Cmd-Shift-H on MacOS
  • Ctrl-Shift-H on Windows + Linux
  • Git Plus: Menu on the atom command palette.

Commands (All commands are available for keymapping)

Note: This list is not exclusive

  1. Git add [all]

Git add will add the current file and 'add all' will add all changed files Default key binding: Cmd-Shift-A

  1. Git add all commit and push

Cmd-Shift-A P

  1. 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)

  1. Git commit amend

Will amend the changes to previous commit.

  1. Git checkout current file

Undo changes and checkout current file.

  1. Git [checkout]

Change branches

  1. Git Diff [All]

Shows diff for current file or All the files. Diff can either be with staged or unstaged as selected in options.

  1. Git new branch

Create a new branch

  1. 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

  1. 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

  1. 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.

  1. Git Log [Current File]

Show the commit history [for the current file] and show display the selected commit.

  1. Git Show

Show the specified object, for example HEAD, HEAD~2, 3925a0d, origin/master or v2.7.3.

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

About

vim-fugitive like package for atom. make commits and other git things without the terminal

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • CoffeeScript 98.6%
  • CSS 1.4%