Skip to content

Latest commit

 

History

History
81 lines (48 loc) · 2.52 KB

README.md

File metadata and controls

81 lines (48 loc) · 2.52 KB

git-plus package

ATTENTION!

I no longer use atom and don't have time to continue developing features on this project but I will do my best to fix issues and bugs that arise. If anyone is willing to pick it up that is great but at the least, pull requests are more than welcome.

endorse

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

A screenshot of your spankin' package

Usage

Git-Plus Palette

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

Commands

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