Bobinas P4G
  • Login
  • Public

    • Public
    • Groups
    • Popular
    • People

Conversation

Notices

  1. Mike Gerwitz (mikegerwitz@social.mikegerwitz.com)'s status on Wednesday, 25-Apr-2018 03:32:36 UTC Mike Gerwitz Mike Gerwitz
    If you don't like typing "git" dozens (or more) times a day, I created short 2--3-character commands for Git with Bash completion support. I've been using it for a number of years, and haven't really told many people about it:

    https://mikegerwitz.com/projects/git-shortmaps/about/

    When the cwd is a Git repository, rather than typing `git commit -m foo`, you'd just type `c -m foo`. `git commit --amend` would be `ca`. `git rebase --interactive` would be `Ri`. `git pull` and `git push` are `P` and `p` respectively. And so on. Simply typing `?` will list all of the commands. And tab-completion works as expected with all of these, as if you were using the long Git commands.

    This helps my fingers keep up with my mind and makes CLI work with Git much more enjoyable. Hopefully others can enjoy it as well.
    In conversation Wednesday, 25-Apr-2018 03:32:36 UTC from social.mikegerwitz.com permalink
    • majestyx and (-(-_(-_-)_-)-) like this.

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • Privacy
  • Source
  • Version
  • Contact

Bobinas P4G is a social network. It runs on GNU social, version 2.0.1-beta0, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All Bobinas P4G content and data are available under the Creative Commons Attribution 3.0 license.