ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Easy​Commit

by educbraga ALL

EasyCommit: Effortless Git commits in Sublime Text for Developers who want to ship more.

Labels git, commit, push, easy

Details

Installs

  • Total 120
  • Win 74
  • Mac 24
  • Linux 22
Nov 19 Nov 18 Nov 17 Nov 16 Nov 15 Nov 14 Nov 13 Nov 12 Nov 11 Nov 10 Nov 9 Nov 8 Nov 7 Nov 6 Nov 5 Nov 4 Nov 3 Nov 2 Nov 1 Oct 31 Oct 30 Oct 29 Oct 28 Oct 27 Oct 26 Oct 25 Oct 24 Oct 23 Oct 22 Oct 21 Oct 20 Oct 19 Oct 18 Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8 Oct 7 Oct 6
Windows 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Mac 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

EasyCommit

EasyCommit: Effortless Git commits in Sublime Text for Developers who want to ship more.

Overview

EasyCommit simplifies the process of making Git commits, allowing developers to focus more on coding and less on version control management.

Features

After pressing a key binding: - Automated Git Workflow: The plugin stages all changes or only the current file. - Commit Messages: It prompts for a commit message. The message is optional: leave it empty and EasyCommit writes one for you (Update <file> or Update N files). - Committing: Commits, pulls (keeping any other uncommitted work aside with --autostash), and pushes to the remote repository on the current branch. If a previous push failed, the next run pushes the pending commits. “Commit all changes in this file” commits only that file, even if other files are staged. - Status Updates: Provides ongoing feedback in the Sublime Text status bar, keeping you informed at every step. - Error Handling: When a Git step fails, shows Git's own error output. - Cancellation Option: Press Esc at the message prompt to cancel. Nothing is staged or changed.

Installation

EasyCommit can be installed via Package Control in Sublime Text. Simply search for “EasyCommit” and install it directly within your editor. Alternatively, you can download the .py file and place it in Sublime Text > Settings > Browse Packages > User.

Usage

After installation, configure a keybinding to trigger the plugin: 1. Open Preferences > Key Bindings in Sublime Text. 2. Add keybindings for the following commands:

For commiting all modified files:

{ "keys": ["your_preferred_shortcut"], "command": "easy_commit_all" }

For commiting the current file:

{ "keys": ["your_preferred_shortcut"], "command": "easy_commit_file" }

Replace your_preferred_shortcut with your desired key combination.

Once set up, use this shortcut to activate EasyCommit in any Git-enabled project.

Contributing

Contributions to EasyCommit are welcome! If you have suggestions, bug reports, or want to contribute code, please feel free to open an issue or submit a pull request.

Support

For support, questions, or feature requests, please open an issue in this repository.

License

MIT