Menu ▾ ▴

#895 Git pull action on File Chooser

open
nobody
None
5
55 minutes ago
1 hour ago
No

So often I'm working with a remote repo, and I need to pause to open a terminal to do a git pull, then go back to the file chooser. I had ChatGPT show me how to install a button on the JFileChooser dialog to spawn a "git pull" command.

On at least Linux machines, there is now a small button with the Git logo (pull button) which will run a "git pull" in the current directory. If the directory is not part of a git repo, or git is not installed, the button will be insensitive.

The button doesn't show on a Mac, and I haven't tried this on Windows yet. Meta+Shift+P will perform the action on a Mac. I'll verify operation on Windows after the next release.

Discussion

  • Jeremy Faden

    Jeremy Faden - 1 hour ago

    Here's the button (upper right) on Linux:

     
  • Jeremy Faden

    Jeremy Faden - 60 minutes ago

    I've added this to the save as dialog as well (in Jython Script Panel).