Git Product home page Git Product logo

git-aliae's Introduction

My git-aliae are snippets of git-related nutcaseness that I use enough to write-down. I've published them here because I find I often want to refer people to them when I'm asked to help with git-related issues.

I've officially published those in /bin, with a blog post and even some documentation if you open the command in an editor; but I've also put all my other aliases in /wip (work-in-progress).

As usual with this kind of stuff, there's no guarantee that they do what you want.

Installation

To install the git-aliae, just clone the repository to a known location (git clone [email protected]:ConradIrwin/git-aliae) and then add export PATH=$PATH:/path/to/git-aliae/bin to your ~/.bashrc.

If you also want to use the wip commands, then export PATH=$PATH:/path/to/git-aliae/wip in addition to the previous line.

Also feel free to just copy and paste commands into any directory that's already in your $PATH.

Command list

Introduced in Git aliae to make you more awesome

  • git amend — adds more stuff to the most recent commit.
  • git uncommit — removes stuff from the most recent commit.
  • git pause — creates a temporary commit on the current branch so you can context-switch.
  • git resume — dissolves the commits created by git pause so you can resume work.

Introduced in Git aliae so that you never lose work

  • git cof — wraps git checkout -f, but saves your work first.
  • git foc — undoes the most recent git cof

FAQ

  • Surely aliae isn't really the plural of alias?

Of course not, that would be aliases. aliae is the feminine plural of the Latin work alius meaning other. Thus, these are just "many other git commands". (They don't actually use git's alias system, but they work in pretty much the same way).

By the way, the etymology of alias is actually pretty interesting, thanks for asking: It originally just meant "others" (feminine plural accusative), and came to mean "in another place, or at another time" in post-Augustan Latin. The English lawyers pounced on this so that they could say "John Smith, who was 'in another place/at another time' known as Esther" much more succinctly: "John Smith, alias Esther, ...". This then found its way into general usage as a noun.

  • Why doesn't --help work?

Git uses the man command to show help, and I haven't gotten around to writing man pages for these commands yet. Please do send pull-requests if you do :).

Meta-fu

Everything is licensed under the MIT license. Bug reports and pull requests are welcome.

git-aliae's People

Contributors

conradirwin avatar

Watchers

James Cloos avatar  avatar

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.