Giter VIP home page Giter VIP logo

git-plus's Introduction

Git-Plus package Build Status

forthebadge

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. You must configure at least the user.email and user.name variables.

Also, the package currently favors an ssh setup that doesn't expect to be prompted for credentials in order to push/pull, .etc. Github has a guide to help you set that up here

If you are on a Windows machine, I recommend checking out this thread if you have issues pushing/pulling from a remote repository with this package. I also don't have the means to do my own user testing in a windows environment so I won't be immediately able to help troubleshoot windows problems.

Showing the Git-Plus Palette

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

Push/Pull/Fetch notifications

Notifications will appear in a console output above the status bar. This view can be toggled by clicking the 'git+' icon in the bottom right of the status bar.

screenshot

Auto-Fetch

Keeps your local repo bang up to date by automatically fetching from all remotes in the background every minute by default. But this can be set to any interval up to an hour, or disabled if you prefer. A notification can also be set to keep you informed.

Commands

Commands are accessible for keybindings by dasherizing the command title. Add your own keybindings in your ~/.atom/keymap.cson file

Git Add == git-plus:add

Git Add All Commit And Push == git-plus:add-all-commit-and-push

Note: The following list of commands is not exhaustive. If what you want isn't a feature, you can use Git Run and enter the command.

Command Effect
Git Run Execute a command manually by typing it without the git part. ex. fetch --all
Git Status Show current status.
Git Add Add the current file to the index.
Git Add All Adds all files to the index (ex. git add .).
Git Commit Commit the staged changes. Git-Plus will show an editor for the commit message. To make the commit, save the file. To cancel the commit, close the tab.
Git Add And Commit Stages the current file before preparing a commit. (Git add all and Git commit run in succession)
Git Add All and Commit Stages all changes before preparing a commit. (Git add all and Git commit in succession)
Git Add And Commit And Push Commit currently open file and push to a remote repo.
Git Add All Commit And Push Commit all changes and push to a remote repo.
Git Commit Amend Amend the previous commit.
Git Checkout Current File Undo changes and reset the current file to HEAD.
Git Checkout[ref] Change to another ref (branch or tag).
Git Checkout New branch Create a new branch.
Git Diff [All] Show the diff of the current file, or all files. The diff can either be against the staged or un-staged tree, as selected in the options.
Git Diff Branches Show the diff of the current branch against another branch.
Git Diff Branch Files Show the diff of the current branch file against another branch version.
Git [Push⎮Pull] Push to or pull from a remote repo. If you have multiple remote repos, you can choose which to push to or pull from.
Git Remove [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.
Git Open Changed Files Open tabs with all added, modified or renamed files.
Git Tags Operate on tags individually. There are options to add, show, push, checkout, verify, and delete.
Manage Stashes Similar to Git Tags. There are options to apply, pop, and drop.

Select lists that allow selecting multiple options

Commands like Stage hunk and Cherry-Pick provide a list with the ability to select multiple options. In this view, there are 'cancel' and 'apply/complete' buttons. The esc key can be used to cancel and the 'confirm' option can be invoked with shift-enter or ctrl-enter.

Commit Window

To change where the commit window appears go to settings and find screenshot

Experimental Features

If you would like to use experimental features, enable them in the package settings.

  • Custom Commands

    If enabled, you can define your own commands in your atom init.coffee or init.js file. These commands will appear in both the atom command palette as well as the Git-Plus command palette. Just like any other commands, you can define keybindings for them as well.

    Example command for undoing the last commit:

    # In init.coffee
    atom.packages.onDidActivateInitialPackages () ->
    if gitPlus = atom.packages.getActivePackage('git-plus')?.mainModule.provideService()
      gitPlus.registerCommand 'atom-text-editor', 'custom-git-commands:undo-last-commit', ->
        gitPlus.getRepo() # If there are multiple repos in the project, you will be prompted to select which to use
        .then (repo) -> gitPlus.run repo, 'reset HEAD~1'

    The name of the command in the Git-plus palette will be the undasherized version of what you provided -> 'Undo Last Commit'.

    Please beware of giving your commands the same name(undo-last-commit) as existing commands. They will appear as duplicates in the Git-plus palette.

    Check out some commands here

  • Stage Files Beta

    When enabled, the 'Unstage Files' and 'Stage Files' commands will be merged into one view where the staged status of multiple files can be toggled.

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Write tests
  4. Make your changes
  5. Run npm test
  6. Commit your changes
  7. Push to the branch (git push origin my-new-feature)
  8. Create new Pull Request

git-plus's People

Contributors

aki77 avatar akonwi avatar apex-ethanjohnson avatar aviatesk avatar azakur4 avatar blaisorblade avatar cbrst avatar ccjmne avatar danielbayley avatar dbenson24 avatar dfoxpro avatar e-jigsaw avatar emcek avatar flexoid avatar fryuni avatar gwasanaethau avatar hebbet avatar hunx avatar ihuston avatar janosimas avatar jeremy-engel avatar joa-queen avatar john-d-murphy avatar lgeiger avatar markogresak avatar martinansty avatar maxcnunes avatar miklosaubert avatar snake231088 avatar yacut avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

git-plus's Issues

Device not configured on Git pushing.

I'm experiencing this with any project I have open that I try to push to. My normal git configuration is through SourceTree, which doesn't have a problem at all authorizing. I've experienced this with two separate projects one Bitbucket and Github. I can't find a place in the settings for the git-plus package to add my git credentials.

Commit fails on Windows

After saving the commit message, a bottom notification appears - can't read .git/COMMITMSG no such file or directory.

Windows 8.1 x64
git-plus 3.1.0
Atom 0.104.0

CTRL/CMD+SHIFT+C is already defined by the system.

You provide a conflicting keyboard command to commit, which happens to be defined for copying the tree view path in the latest Atom, perhaps switch it to CTRL+SHIFT+X which is rather close so wouldn't require much to relearn and is not currently assigned.

Package installation fails(Remove PathWatcher)

Hi,

Installation doesn't seem to work from within Atom's package manager GUI:

> [email protected] install /private/var/folders/kd/zz198_5x4mj6v7380s8029v49qzw55/T/apm-install-dir-114231-14424-1jdtfac/node_modules/git-plus/node_modules/pathwatcher/node_modules/runas
> node-gyp rebuild


npm http GET https://registry.npmjs.org/pathwatcher
npm http 200 https://registry.npmjs.org/pathwatcher
npm http GET https://registry.npmjs.org/pathwatcher/-/pathwatcher-1.1.1.tgz
npm http 200 https://registry.npmjs.org/pathwatcher/-/pathwatcher-1.1.1.tgz
npm http GET https://registry.npmjs.org/bindings
npm http GET https://registry.npmjs.org/nan/0.8.0
npm http GET https://registry.npmjs.org/emissary
npm http GET https://registry.npmjs.org/q
npm http GET https://registry.npmjs.org/runas
npm http GET https://registry.npmjs.org/underscore-plus
npm http GET https://registry.npmjs.org/fs-plus
npm http GET https://registry.npmjs.org/async
npm http 200 https://registry.npmjs.org/bindings
npm http GET https://registry.npmjs.org/bindings/-/bindings-1.1.1.tgz
npm http 200 https://registry.npmjs.org/q
npm http 200 https://registry.npmjs.org/underscore-plus
npm http 200 https://registry.npmjs.org/nan/0.8.0
npm http GET https://registry.npmjs.org/q/-/q-1.0.1.tgz
npm http GET https://registry.npmjs.org/nan/-/nan-0.8.0.tgz
npm http 200 https://registry.npmjs.org/runas
npm http 200 https://registry.npmjs.org/async
npm http 200 https://registry.npmjs.org/bindings/-/bindings-1.1.1.tgz
npm http GET https://registry.npmjs.org/runas/-/runas-0.5.4.tgz
npm http 200 https://registry.npmjs.org/emissary
npm http 200 https://registry.npmjs.org/q/-/q-1.0.1.tgz
npm http GET https://registry.npmjs.org/emissary/-/emissary-1.2.0.tgz
npm http 200 https://registry.npmjs.org/nan/-/nan-0.8.0.tgz
npm http 200 https://registry.npmjs.org/runas/-/runas-0.5.4.tgz
npm http 200 https://registry.npmjs.org/emissary/-/emissary-1.2.0.tgz
npm http 200 https://registry.npmjs.org/fs-plus
npm http GET https://registry.npmjs.org/fs-plus/-/fs-plus-2.2.0.tgz
npm http 200 https://registry.npmjs.org/fs-plus/-/fs-plus-2.2.0.tgz
npm http GET https://registry.npmjs.org/underscore
npm http GET https://registry.npmjs.org/mkdirp
npm http GET https://registry.npmjs.org/rimraf
/Applications/Atom.app/Contents/Resources/app/apm/node_modules/atom-package-manager/node_modules/npm/bin/node-gyp-bin/node-gyp: line 2: node: command not found
npm http 304 https://registry.npmjs.org/underscore
npm http GET https://registry.npmjs.org/mixto
npm http GET https://registry.npmjs.org/property-accessors
npm http 200 https://registry.npmjs.org/mkdirp
npm http 200 https://registry.npmjs.org/rimraf
npm ERR! Error: ENOENT, utime '/private/var/folders/kd/zz198_5x4mj6v7380s8029v49qzw55/T/apm-install-dir-114231-14424-1jdtfac/node_modules/git-plus/node_modules/pathwatcher/node_modules/nan/nan.h'
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR!     <http://github.com/npm/npm/issues>

npm ERR! System Darwin 13.1.0
npm ERR! command "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/atom-package-manager/bin/node_darwin_x64" "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/atom-package-manager/node_modules/npm/bin/npm-cli.js" "--userconfig" "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/atom-package-manager/.apmrc" "install" "/var/folders/kd/zz198_5x4mj6v7380s8029v49qzw55/T/d-114231-14424-2987d6/package.tgz" "--target=0.11.10" "--arch=x64"
npm ERR! cwd /private/var/folders/kd/zz198_5x4mj6v7380s8029v49qzw55/T/apm-install-dir-114231-14424-1jdtfac
npm ERR! node -v v0.10.26
npm ERR! npm -v 1.4.4
npm ERR! path /private/var/folders/kd/zz198_5x4mj6v7380s8029v49qzw55/T/apm-install-dir-114231-14424-1jdtfac/node_modules/git-plus/node_modules/pathwatcher/node_modules/nan/nan.h
npm ERR! fstream_path /private/var/folders/kd/zz198_5x4mj6v7380s8029v49qzw55/T/apm-install-dir-114231-14424-1jdtfac/node_modules/git-plus/node_modules/pathwatcher/node_modules/nan/nan.h
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! fstream_finish_call utimes
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack /Applications/Atom.app/Contents/Resources/app/apm/node_modules/atom-package-manager/node_modules/npm/node_modules/fstream/lib/writer.js:305:19
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm http 200 https://registry.npmjs.org/property-accessors
npm ERR! error rolling back Error: ENOTEMPTY, rmdir '/private/var/folders/kd/zz198_5x4mj6v7380s8029v49qzw55/T/apm-install-dir-114231-14424-1jdtfac/node_modules/git-plus/node_modules/pathwatcher/node_modules'
npm ERR! error rolling back  [email protected] { [Error: ENOTEMPTY, rmdir '/private/var/folders/kd/zz198_5x4mj6v7380s8029v49qzw55/T/apm-install-dir-114231-14424-1jdtfac/node_modules/git-plus/node_modules/pathwatcher/node_modules']
npm ERR! error rolling back   errno: 53,
npm ERR! error rolling back   code: 'ENOTEMPTY',
npm ERR! error rolling back   path: '/private/var/folders/kd/zz198_5x4mj6v7380s8029v49qzw55/T/apm-install-dir-114231-14424-1jdtfac/node_modules/git-plus/node_modules/pathwatcher/node_modules' }
npm http 200 https://registry.npmjs.org/mixto
npm http GET https://registry.npmjs.org/property-accessors/-/property-accessors-1.1.0.tgz
npm http GET https://registry.npmjs.org/mixto/-/mixto-1.0.0.tgz
npm ERR! Error: ENOENT, utime '/private/var/folders/kd/zz198_5x4mj6v7380s8029v49qzw55/T/apm-install-dir-114231-14424-1jdtfac/node_modules/git-plus/node_modules/pathwatcher/node_modules/q/benchmark/scenarios.js'
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR!     <http://github.com/npm/npm/issues>

npm ERR! System Darwin 13.1.0
npm ERR! command "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/atom-package-manager/bin/node_darwin_x64" "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/atom-package-manager/node_modules/npm/bin/npm-cli.js" "--userconfig" "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/atom-package-manager/.apmrc" "install" "/var/folders/kd/zz198_5x4mj6v7380s8029v49qzw55/T/d-114231-14424-2987d6/package.tgz" "--target=0.11.10" "--arch=x64"
npm ERR! cwd /private/var/folders/kd/zz198_5x4mj6v7380s8029v49qzw55/T/apm-install-dir-114231-14424-1jdtfac
npm ERR! node -v v0.10.26
npm ERR! npm -v 1.4.4
npm ERR! path /private/var/folders/kd/zz198_5x4mj6v7380s8029v49qzw55/T/apm-install-dir-114231-14424-1jdtfac/node_modules/git-plus/node_modules/pathwatcher/node_modules/q/benchmark/scenarios.js
npm ERR! fstream_path /private/var/folders/kd/zz198_5x4mj6v7380s8029v49qzw55/T/apm-install-dir-114231-14424-1jdtfac/node_modules/git-plus/node_modules/pathwatcher/node_modules/q/benchmark/scenarios.js
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! fstream_finish_call utimes
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack /Applications/Atom.app/Contents/Resources/app/apm/node_modules/atom-package-manager/node_modules/npm/node_modules/fstream/lib/writer.js:305:19
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm ERR! Error: ENOENT, open '/private/var/folders/kd/zz198_5x4mj6v7380s8029v49qzw55/T/apm-install-dir-114231-14424-1jdtfac/node_modules/git-plus/node_modules/pathwatcher/node_modules/fs-plus/node_modules/mkdirp/.npmignore'
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR!     <http://github.com/npm/npm/issues>

npm ERR! System Darwin 13.1.0
npm ERR! command "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/atom-package-manager/bin/node_darwin_x64" "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/atom-package-manager/node_modules/npm/bin/npm-cli.js" "--userconfig" "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/atom-package-manager/.apmrc" "install" "/var/folders/kd/zz198_5x4mj6v7380s8029v49qzw55/T/d-114231-14424-2987d6/package.tgz" "--target=0.11.10" "--arch=x64"
npm ERR! cwd /private/var/folders/kd/zz198_5x4mj6v7380s8029v49qzw55/T/apm-install-dir-114231-14424-1jdtfac
npm ERR! node -v v0.10.26
npm ERR! npm -v 1.4.4

npm ERR! path /private/var/folders/kd/zz198_5x4mj6v7380s8029v49qzw55/T/apm-install-dir-114231-14424-1jdtfac/node_modules/git-plus/node_modules/pathwatcher/node_modules/fs-plus/node_modules/mkdirp/.npmignore
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! EEXIST, mkdir '/private/var/folders/kd/zz198_5x4mj6v7380s8029v49qzw55/T/apm-install-dir-114231-14424-1jdtfac/node_modules/git-plus/node_modules/pathwatcher/node_modules/fs-plus/node_modules/rimraf'
File exists: /private/var/folders/kd/zz198_5x4mj6v7380s8029v49qzw55/T/apm-install-dir-114231-14424-1jdtfac/node_modules/git-plus/node_modules/pathwatcher/node_modules/fs-plus/node_modules/rimraf
Move it away, and try again. 

npm ERR! System Darwin 13.1.0
npm ERR! command "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/atom-package-manager/bin/node_darwin_x64" "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/atom-package-manager/node_modules/npm/bin/npm-cli.js" "--userconfig" "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/atom-package-manager/.apmrc" "install" "/var/folders/kd/zz198_5x4mj6v7380s8029v49qzw55/T/d-114231-14424-2987d6/package.tgz" "--target=0.11.10" "--arch=x64"
npm ERR! cwd /private/var/folders/kd/zz198_5x4mj6v7380s8029v49qzw55/T/apm-install-dir-114231-14424-1jdtfac
npm ERR! node -v v0.10.26
npm ERR! npm -v 1.4.4
npm ERR! path /private/var/folders/kd/zz198_5x4mj6v7380s8029v49qzw55/T/apm-install-dir-114231-14424-1jdtfac/node_modules/git-plus/node_modules/pathwatcher/node_modules/fs-plus/node_modules/rimraf
npm ERR! fstream_path /private/var/folders/kd/zz198_5x4mj6v7380s8029v49qzw55/T/apm-install-dir-114231-14424-1jdtfac/node_modules/git-plus/node_modules/pathwatcher/node_modules/fs-plus/node_modules/rimraf/README.md
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code EEXIST
npm ERR! errno 47
npm ERR! fstream_stack /Applications/Atom.app/Contents/Resources/app/apm/node_modules/atom-package-manager/node_modules/npm/node_modules/fstream/lib/writer.js:171:23
npm ERR! fstream_stack /Applications/Atom.app/Contents/Resources/app/apm/node_modules/atom-package-manager/node_modules/npm/node_modules/mkdirp/index.js:37:53
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm ERR! EEXIST, mkdir '/private/var/folders/kd/zz198_5x4mj6v7380s8029v49qzw55/T/apm-install-dir-114231-14424-1jdtfac/node_modules/git-plus/node_modules/pathwatcher/node_modules/underscore-plus/node_modules/underscore'
File exists: /private/var/folders/kd/zz198_5x4mj6v7380s8029v49qzw55/T/apm-install-dir-114231-14424-1jdtfac/node_modules/git-plus/node_modules/pathwatcher/node_modules/underscore-plus/node_modules/underscore
Move it away, and try again. 

npm ERR! System Darwin 13.1.0
npm ERR! command "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/atom-package-manager/bin/node_darwin_x64" "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/atom-package-manager/node_modules/npm/bin/npm-cli.js" "--userconfig" "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/atom-package-manager/.apmrc" "install" "/var/folders/kd/zz198_5x4mj6v7380s8029v49qzw55/T/d-114231-14424-2987d6/package.tgz" "--target=0.11.10" "--arch=x64"
npm ERR! cwd /private/var/folders/kd/zz198_5x4mj6v7380s8029v49qzw55/T/apm-install-dir-114231-14424-1jdtfac
npm ERR! node -v v0.10.26
npm ERR! npm -v 1.4.4
npm ERR! path /private/var/folders/kd/zz198_5x4mj6v7380s8029v49qzw55/T/apm-install-dir-114231-14424-1jdtfac/node_modules/git-plus/node_modules/pathwatcher/node_modules/underscore-plus/node_modules/underscore
npm ERR! fstream_path /private/var/folders/kd/zz198_5x4mj6v7380s8029v49qzw55/T/apm-install-dir-114231-14424-1jdtfac/node_modules/git-plus/node_modules/pathwatcher/node_modules/underscore-plus/node_modules/underscore/LICENSE
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code EEXIST
npm ERR! errno 47
npm ERR! fstream_stack /Applications/Atom.app/Contents/Resources/app/apm/node_modules/atom-package-manager/node_modules/npm/node_modules/fstream/lib/writer.js:171:23
npm ERR! fstream_stack /Applications/Atom.app/Contents/Resources/app/apm/node_modules/atom-package-manager/node_modules/npm/node_modules/mkdirp/index.js:37:53
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 127
npm ERR! 
npm ERR! Failed at the [email protected] install script.
npm ERR! This is most likely a problem with the runas package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get their info via:
npm ERR!     npm owner ls runas
npm ERR! There is likely additional logging output above.

npm ERR! System Darwin 13.1.0
npm ERR! command "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/atom-package-manager/bin/node_darwin_x64" "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/atom-package-manager/node_modules/npm/bin/npm-cli.js" "--userconfig" "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/atom-package-manager/.apmrc" "install" "/var/folders/kd/zz198_5x4mj6v7380s8029v49qzw55/T/d-114231-14424-2987d6/package.tgz" "--target=0.11.10" "--arch=x64"
npm ERR! cwd /private/var/folders/kd/zz198_5x4mj6v7380s8029v49qzw55/T/apm-install-dir-114231-14424-1jdtfac
npm ERR! node -v v0.10.26
npm ERR! npm -v 1.4.4
npm ERR! code ELIFECYCLE
npm http 200 https://registry.npmjs.org/property-accessors/-/property-accessors-1.1.0.tgz
npm http 200 https://registry.npmjs.org/mixto/-/mixto-1.0.0.tgz
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /private/var/folders/kd/zz198_5x4mj6v7380s8029v49qzw55/T/apm-install-dir-114231-14424-1jdtfac/npm-debug.log
npm ERR! not ok code 0

"Aborting commit due to empty commit message"

I updated the newest git-plus and suddenly get this message every time i try to commit something. I add a message like usual and save, but always get this error and cannot push.

git push doesn't push, leaves blank empty line below atom status bar

I assume some kind of error is being thrown, but I'm not seeing any, I hit Ctrl+Shift+H and type "Push", then select it with when it's displayed, but all that happens is a push icon appears and the status bar moves up one line. When I look at the status in TortoiseGit, the push hasn't happened.

Git Push creates weird black bar with no feedback

So I used Git Push to push commits up to my repo. The command created a weird black bar at the bottom of the window and gave me no feedback that the push was successful:

screenshot

Also, I found that the "Add All and Commit" overlay was dark and interfered with the status bar in my theme. Is there a way to perhaps use more native "styled" UI elements for this?

Update less frequently.

I understand the need to push and push and push when it comes to production servers and features but it's rather annoying to have to see a plugin that gets updated every couple of hours for non-essential features that can wait a few days to save me spending more time inside of the update screen than I do in my own source.

Can you please reduce the amount of pushes you do, thanks.

support submodules

it appears that git-plus may, as of yet, not support submodules.
It'd great to see that and/or a confirmation that the below behaviour is in fact due to the lack of submodule support in git-plus (as opposed to somewhere else in the stack).

I first posted the below on the atom forums but someone suggested this might be the place:

I'd like to able to use submodules efficiently within Atom.

Use case file tree:

  • superproject
    • submodule1
      • file-a
    • submodule2
    • file-b
    • folder1

Expected behavior:

I'd like to able to select submodule1 (which, after all, includes a .git) or any folder or file therein (such as file-a) and be able to then have any add, commit and push etc. commands I do (with, say, git-plus) to apply to the submodule.

* Observed behavior:*

No matter where I am, any git operations will work only on the superproject.

In fact, if I just open the submodule1, edit, add and commit I get this:

Window load time: 1625ms /Applications/Atom.app/Contents/Resources/app/src/window-bootstrap.js:18
4
Uncaught Error: EEXIST, file already exists '/Users/Max/Github/barjoke/latexstyles/.git' /Users/Max/.atom/packages/git-plus/node_modules/fs-plus/node_modules/mkdirp/index.js:76

Any thoughts on how to handle this problem and submodules in general?

Failed to install [email protected] on Atom 0.81.0 on MacOSX Mavericks

Error received:

> [email protected] install /private/var/folders/11/btv6w5410yz8bcyrx0nn6gsw0000gn/T/apm-install-dir-11433-30631-fcgueq/node_modules/git-plus/node_modules/pathwatcher/node_modules/runas
> node-gyp rebuild


npm http GET https://registry.npmjs.org/pathwatcher
npm http 304 https://registry.npmjs.org/pathwatcher
npm http GET https://registry.npmjs.org/bindings
npm http GET https://registry.npmjs.org/nan/0.8.0
npm http GET https://registry.npmjs.org/q
npm http GET https://registry.npmjs.org/emissary
npm http GET https://registry.npmjs.org/underscore-plus
npm http GET https://registry.npmjs.org/fs-plus
npm http GET https://registry.npmjs.org/runas
npm http GET https://registry.npmjs.org/async
npm http 304 https://registry.npmjs.org/nan/0.8.0
npm http 304 https://registry.npmjs.org/q
npm http 304 https://registry.npmjs.org/emissary
npm http 304 https://registry.npmjs.org/underscore-plus
npm http 304 https://registry.npmjs.org/bindings
npm http 304 https://registry.npmjs.org/fs-plus
npm http 304 https://registry.npmjs.org/runas
npm http 304 https://registry.npmjs.org/async
npm http GET https://registry.npmjs.org/underscore
npm http GET https://registry.npmjs.org/mkdirp
npm http GET https://registry.npmjs.org/rimraf
/Applications/Atom.app/Contents/Resources/app/apm/node_modules/atom-package-manager/node_modules/npm/bin/node-gyp-bin/node-gyp: line 2: node: command not found
npm http GET https://registry.npmjs.org/mixto
npm http GET https://registry.npmjs.org/property-accessors
npm ERR! error rolling back Error: ENOTEMPTY, rmdir '/private/var/folders/11/btv6w5410yz8bcyrx0nn6gsw0000gn/T/apm-install-dir-11433-30631-fcgueq/node_modules/git-plus/node_modules/pathwatcher/node_modules/nan'
npm ERR! error rolling back  [email protected] { [Error: ENOTEMPTY, rmdir '/private/var/folders/11/btv6w5410yz8bcyrx0nn6gsw0000gn/T/apm-install-dir-11433-30631-fcgueq/node_modules/git-plus/node_modules/pathwatcher/node_modules/nan']
npm ERR! error rolling back   errno: 53,
npm ERR! error rolling back   code: 'ENOTEMPTY',
npm ERR! error rolling back   path: '/private/var/folders/11/btv6w5410yz8bcyrx0nn6gsw0000gn/T/apm-install-dir-11433-30631-fcgueq/node_modules/git-plus/node_modules/pathwatcher/node_modules/nan' }
npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 127
npm ERR! 
npm ERR! Failed at the [email protected] install script.
npm ERR! This is most likely a problem with the runas package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get their info via:
npm ERR!     npm owner ls runas
npm ERR! There is likely additional logging output above.

npm ERR! System Darwin 13.1.0
npm ERR! command "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/atom-package-manager/bin/node_darwin_x64" "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/atom-package-manager/node_modules/npm/bin/npm-cli.js" "--userconfig" "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/atom-package-manager/.apmrc" "install" "/Users/yeongsheng/.atom/.node-gyp/.atom/.apm/git-plus/0.1.1/package.tgz" "--target=0.11.10" "--arch=x64"
npm ERR! cwd /private/var/folders/11/btv6w5410yz8bcyrx0nn6gsw0000gn/T/apm-install-dir-11433-30631-fcgueq
npm ERR! node -v v0.10.26
npm ERR! npm -v 1.4.4
npm ERR! code ELIFECYCLE
npm http 304 https://registry.npmjs.org/mkdirp
npm http 304 https://registry.npmjs.org/underscore
npm http 304 https://registry.npmjs.org/property-accessors
npm http 304 https://registry.npmjs.org/rimraf
npm http 304 https://registry.npmjs.org/mixto
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /private/var/folders/11/btv6w5410yz8bcyrx0nn6gsw0000gn/T/apm-install-dir-11433-30631-fcgueq/npm-debug.log
npm ERR! not ok code 0

Some commands are not present in keybinding

With the last upgrade 3.1.0, some commands are not present in keybinding, for example pull and push.
I find this command only open the menu, but not keybinding present.
schermata 2014-06-17 alle 13 40 53

Sorry for my English.

Package Installation Faild (node-gyp rebuild faild)

[email protected] install /private/var/folders/j4/2rpf1szj02j9zwfy3gt9my_r0000gn/T/apm-install-dir-114314-40285-1gyjl6n/node_modules/git-plus/node_modules/pathwatcher/node_modules/runas
node-gyp rebuild

npm http GET https://registry.npmjs.org/pathwatcher
npm http 304 https://registry.npmjs.org/pathwatcher
npm http GET https://registry.npmjs.org/bindings
npm http GET https://registry.npmjs.org/nan/0.8.0
npm http GET https://registry.npmjs.org/q
npm http GET https://registry.npmjs.org/emissary
npm http GET https://registry.npmjs.org/underscore-plus
npm http GET https://registry.npmjs.org/fs-plus
npm http GET https://registry.npmjs.org/runas
npm http GET https://registry.npmjs.org/async
npm http 304 https://registry.npmjs.org/nan/0.8.0
npm http 304 https://registry.npmjs.org/underscore-plus
npm http 304 https://registry.npmjs.org/bindings
npm http 304 https://registry.npmjs.org/q
npm http 304 https://registry.npmjs.org/async
npm http 304 https://registry.npmjs.org/runas
npm http 304 https://registry.npmjs.org/emissary
npm http 304 https://registry.npmjs.org/fs-plus
npm http GET https://registry.npmjs.org/underscore
npm http GET https://registry.npmjs.org/mkdirp
npm http GET https://registry.npmjs.org/rimraf
/Applications/Atom.app/Contents/Resources/app/apm/node_modules/atom-package-manager/node_modules/npm/bin/node-gyp-bin/node-gyp: line 2: node: command not found
npm http GET https://registry.npmjs.org/mixto
npm http GET https://registry.npmjs.org/property-accessors
npm ERR! Error: ENOENT, lstat '/private/var/folders/j4/2rpf1szj02j9zwfy3gt9my_r0000gn/T/apm-install-dir-114314-40285-1gyjl6n/node_modules/git-plus/node_modules/pathwatcher/node_modules/q/benchmark/compare-with-callbacks.js'
npm ERR! If you need help, you may report this entire log,
npm ERR! including the npm and node versions, at:
npm ERR! http://github.com/npm/npm/issues

npm ERR! System Darwin 13.1.0
npm ERR! command "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/atom-package-manager/bin/node_darwin_x64" "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/atom-package-manager/node_modules/npm/bin/npm-cli.js" "--userconfig" "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/atom-package-manager/.apmrc" "install" "/Users/chino/.atom/.node-gyp/.atom/.apm/git-plus/0.3.0/package.tgz" "--target=0.11.10" "--arch=x64"
npm ERR! cwd /private/var/folders/j4/2rpf1szj02j9zwfy3gt9my_r0000gn/T/apm-install-dir-114314-40285-1gyjl6n
npm ERR! node -v v0.10.26
npm ERR! npm -v 1.4.4
npm ERR! path /private/var/folders/j4/2rpf1szj02j9zwfy3gt9my_r0000gn/T/apm-install-dir-114314-40285-1gyjl6n/node_modules/git-plus/node_modules/pathwatcher/node_modules/q/benchmark/compare-with-callbacks.js
npm ERR! fstream_path /private/var/folders/j4/2rpf1szj02j9zwfy3gt9my_r0000gn/T/apm-install-dir-114314-40285-1gyjl6n/node_modules/git-plus/node_modules/pathwatcher/node_modules/q/benchmark/compare-with-callbacks.js
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack /Applications/Atom.app/Contents/Resources/app/apm/node_modules/atom-package-manager/node_modules/npm/node_modules/fstream/lib/writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm ERR! [email protected] install: node-gyp rebuild
npm ERR! Exit status 127
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is most likely a problem with the runas package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get their info via:
npm ERR! npm owner ls runas
npm ERR! There is likely additional logging output above.

npm ERR! System Darwin 13.1.0
npm ERR! command "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/atom-package-manager/bin/node_darwin_x64" "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/atom-package-manager/node_modules/npm/bin/npm-cli.js" "--userconfig" "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/atom-package-manager/.apmrc" "install" "/Users/chino/.atom/.node-gyp/.atom/.apm/git-plus/0.3.0/package.tgz" "--target=0.11.10" "--arch=x64"
npm ERR! cwd /private/var/folders/j4/2rpf1szj02j9zwfy3gt9my_r0000gn/T/apm-install-dir-114314-40285-1gyjl6n
npm ERR! node -v v0.10.26
npm ERR! npm -v 1.4.4
npm ERR! code ELIFECYCLE
npm http 304 https://registry.npmjs.org/underscore
npm http 304 https://registry.npmjs.org/mixto
npm http 304 https://registry.npmjs.org/rimraf
npm http 304 https://registry.npmjs.org/mkdirp
npm http 304 https://registry.npmjs.org/property-accessors
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /private/var/folders/j4/2rpf1szj02j9zwfy3gt9my_r0000gn/T/apm-install-dir-114314-40285-1gyjl6n/npm-debug.log
npm ERR! not ok code 0

TypeError on Atom 0.95.0

On atom 0.95.0, atom.project.getRepo() is undefined, but git-branch.coffee has (on line 5) with dir = atom.project.getRepo().getWorkingDirectory().

Error activating package config for “git-plus” 
TypeError
message: "Cannot call method 'getWorkingDirectory' of undefined"
stack: 
"TypeError: Cannot call method 'getWorkingDirectory' of undefined
  at Object.<anonymous> (/Users/pgiarrusso/.atom/packages/git-plus/lib/git-branch.coffee:5:30)
  at Object.<anonymous> (/Users/pgiarrusso/.atom/packages/git-plus/lib/git-branch.coffee:1:1)
  at Module._compile (module.js:455:26)
  at Object.requireCoffeeScript [as .coffee] (/Applications/Atom.app/Contents/Resources/app/src/coffee-cache.js:54:19)
  at Module.load (/Users/pgiarrusso/.atom/packages/language-syntax-settings/node_modules/cson/node_modules/coffee-script/lib/coffee-script/coffee-script.js:211:36)
  at Function.Module._load (module.js:311:12)
  at Module.require (module.js:363:17)
  at require (module.js:379:17)
  at Object.<anonymous> (/Users/pgiarrusso/.atom/packages/git-plus/lib/git-plus.coffee:3:13)
  at Object.<anonymous> (/Users/pgiarrusso/.atom/packages/git-plus/lib/git-plus.coffee:1:1)
  at Module._compile (module.js:455:26)
  at Object.requireCoffeeScript [as .coffee] (/Applications/Atom.app/Contents/Resources/app/src/coffee-cache.js:54:19)
  at Module.load (/Users/pgiarrusso/.atom/packages/language-syntax-settings/node_modules/cson/node_modules/coffee-script/lib/coffee-script/coffee-script.js:211:36)
  at Function.Module._load (module.js:311:12)
  at Module.require (module.js:363:17)
  at require (module.js:379:17)
  at Package.module.exports.Package.requireMainModule (/Applications/Atom.app/Contents/Resources/app/src/package.js:455:34)
  at Package.module.exports.Package.activateConfig (/Applications/Atom.app/Contents/Resources/app/src/package.js:176:12)
  at iterator (/Applications/Atom.app/Contents/Resources/app/node_modules/settings-view/lib/settings-view.js:403:23)
  at /Applications/Atom.app/Contents/Resources/app/node_modules/settings-view/node_modules/async/lib/async.js:111:13
  at Array.forEach (native)
  at _each (/Applications/Atom.app/Contents/Resources/app/node_modules/settings-view/node_modules/async/lib/async.js:32:24)
  at Object.async.each (/Applications/Atom.app/Contents/Resources/app/node_modules/settings-view/node_modules/async/lib/async.js:110:9)
  at SettingsView.module.exports.SettingsView.activatePackages (/Applications/Atom.app/Contents/Resources/app/node_modules/settings-view/lib/settings-view.js:411:20)
  at /Applications/Atom.app/Contents/Resources/app/node_modules/settings-view/lib/settings-view.js:101:24
  at process._tickCallback (node.js:605:11)
"
...

More visual feedback for Push

At the moment, Push doesn't give enough feedback. The only feedback I can see is an extra gutter appear, and disappear. Considering it's not a command that's typically completed in an instant, like Add or Commit, there should be some feedback.
Would love to see something along the lines of a progress indicator, or even some confirmation text once pushed.

Not pushing, and with no error

The commit issue has been fixed, but now it won't push! There's no error or warning dialogue either. Checked terminal to make sure, and it hadn't pushed.

On `git status` result, add a way to open the file

Nowadays, when you run a git status using this plugin and press enter in a file, it will open the file diff. I think it'll be AWESOME if you can add a way for us to open the file itself, instead of the diff. Thank you so much, very nice plugin!

Refresh tree view after commit

I am not sure it's a Git-Plus or atom.io issue, but here it is :

File name highlights in tree view are not refreshed after commit until atom.io window lost and regain focus.

Platform : Mac OSX 10.9.2
Atom.io version : 0.95.0
Git-Plus version : 2.3.0

Installing version 3.0.1 fails form Package manager

Hi there,

I'm using windows 7 64 bits with atom 0.103.0 release.

When trying to install the git plus package, I get the following error trace:

Installing package git-plus failed Error: Installing “[email protected]” failed.
  at c:\Program Files (x86)\Atom\resources\app\node_modules\settings-view\lib\package-manager.js:253:21
  at exit (c:\Program Files (x86)\Atom\resources\app\node_modules\settings-view\lib\package-manager.js:37:16)
  at BufferedProcess.triggerExitCallback (c:\Program Files (x86)\Atom\resources\app\src\buffered-process.js:37:47)
  at ChildProcess. (c:\Program Files (x86)\Atom\resources\app\src\buffered-process.js:59:18)
  at ChildProcess.EventEmitter.emit (events.js:104:17)
  at Process.ChildProcess._handle.onexit (child_process.js:875:12)

And it throws a Installing “[email protected]” failed. from package manager. I just tried to install some other packages and they're working, so could this be a bug from the git plus package?

Could not create status list error

Setup: mac and github for mac (https://mac.github.com/) along with Atom (obviously).

When I "add all" and then "commit" (and uncomment the appropriate changes) using git-plus the commit pops up in github for mac. In github for mac, when I click the sync or sync branches buttons it USUALLY pops up with a message that says "Could not create status list". If I click "Edit" next to the unsynced commit, no files show up as having changed.

Weird thing is... if I try this a few times it does eventually work. I have been unable to notice a pattern.

Am I doing something wrong?

Changelog?

Can you make a changelog file for people to see what issues have been fixed, what API changes have been made, and anything else?

Add Git Push

This plugins is perfect, but there is not a way to push the commits.
Please add this feature.

Problems with enviroment with pre-commit hooks

I used Ochtra for pre-commit hook, from my zsh not problem.

But in atom i have this message:
image

I think need set some path or environment for fixing this? Remove colors from bash message will be nice too.

Add possibility to skip pre-commit using -n can be useful.

autocomplete issues, repos, usernames for commit messages

This might be a little beyond the plans for this package, but it would still be great to have. I love the cross referencing on github, but keeping issue numbers and strings in mind for commit msgs is a hassle.

I also posted this over at the atom discussion.

use git conventions for command names

I am familiar with git, so when I want to stage files, I look for the git add command. In this plugin, I have to do git write - which does not mean anything to me.

If the command is only adding files to the staging index, the command could be called add, and perhaps have an alias write/whatever.

If the command is going to add and then also do some other operation, perhaps draft a commit message or something, in order to make sure user does not expect it is simply a git add, you could call it stage.

In a nutshell - I know and understand git terminology, and don't really want to learn a plugin specific set of names/concepts.

push does not work

Error occur when git push on command palette. Like this

Uncaught TypeError: Object #<ListView> has no method 'pushTo' remote-list-view.coffee:18
module.exports.ListView.parseData remote-list-view.coffee:18
module.exports.ListView.initialize remote-list-view.coffee:10
View /Applications/Atom.app/Contents/Resources/app/node_modules/space-pen/lib/space-pen.js:135
SelectListView /Applications/Atom.app/Contents/Resources/app/src/select-list-view.js:16
ListView remote-list-view.coffee:7
BufferedProcess.stdout git-push.coffee:16
(anonymous function) /Applications/Atom.app/Contents/Resources/app/src/buffered-process.js:77
EventEmitter.emit events.js:101
readableAddChunk _stream_readable.js:156
Readable.push _stream_readable.js:123
onread net.js:509
Uncaught TypeError: Object #<ListView> has no method 'pushTo' remote-list-view.coffee:18
module.exports.ListView.parseData remote-list-view.coffee:18
module.exports.ListView.initialize remote-list-view.coffee:10
View /Applications/Atom.app/Contents/Resources/app/node_modules/space-pen/lib/space-pen.js:135
SelectListView /Applications/Atom.app/Contents/Resources/app/src/select-list-view.js:16
ListView remote-list-view.coffee:7
BufferedProcess.stdout git-push.coffee:16
(anonymous function) /Applications/Atom.app/Contents/Resources/app/src/buffered-process.js:88
EventEmitter.emit events.js:123
(anonymous function) net.js:459

Git Push

If complete fubars my settings. The first time I go to use it, it can't write /o/.ssh then it also must set some environment variable because git no longer works on the command line or in sublime_text.

Git pull missing?

I see people with the option for git pull but mine seems to be missing, any ideas?

Allow git installations without path variable

I installed recently this plugin, working in windows 7 32 bits using atom 0.101.0, my git installation it's bound to the git bash, not to the PATH windows variable, hence when I try to execute the commands it throws the message

"git" is not recognized as an internal or external command, operable program or batch file

I looked into the plugin settings, but couldn't find any setting to setup git location. Is there a way to make it work in this case scenario?

Saving COMMIT_EDITMESSAGE causes errors.

Errors, from console:
Uncaught TypeError: Cannot call method 'getScreenRow' of undefined /Applications/Atom.app/Contents/Resources/app/src/editor.js:1311
Uncaught TypeError: Cannot call method 'getBufferPosition' of undefined /Applications/Atom.app/Contents/Resources/app/src/editor.js:1321

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.