Jonkman Microblog
  • Login
Show Navigation
  • Public

    • Public
    • Network
    • Groups
    • Popular
    • People

Conversation

Notices

  1. Mike Gerwitz (mikegerwitz@social.mikegerwitz.com)'s status on Tuesday, 24-Apr-2018 23:32:36 EDT 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 Tuesday, 24-Apr-2018 23:32:36 EDT from social.mikegerwitz.com permalink
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

Jonkman Microblog is a social network, courtesy of SOBAC Microcomputer Services. It runs on GNU social, version 1.2.0-beta5, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All Jonkman Microblog content and data are available under the Creative Commons Attribution 3.0 license.

Switch to desktop site layout.