An open API service indexing awesome lists of open source software.

https://github.com/tywalch/git-argue

A novelty app for office jerks who protect their code at all costs. Displays changes to specifically your code between two commits as well as who's desk to walk over to and argue.
https://github.com/tywalch/git-argue

Last synced: 11 months ago
JSON representation

A novelty app for office jerks who protect their code at all costs. Displays changes to specifically your code between two commits as well as who's desk to walk over to and argue.

Awesome Lists containing this project

README

          

# git-argue
###### Don't touch my Git
A novelty app for office jerks who protect their code at all costs. Displays changes to specifically your code between two commits as well as who's desk to walk over to and argue.

This code was written as a fun project to play around with a few git concepts. The script's name is in jest and the project is not intended to contribute to a toxic collaborative environment.

## Usage
git-argue [options] [] []
git-argue [options] [-d|--dir]

Options:
-h, --help output usage information
-d, --dir force git-argue to run in the specified directory rather than attempt to detect the repository root

## Installation

- Install [Git](http://git-scm.com/), [Node.js](http://nodejs.org/), and [npm](https://npmjs.org/)
- Run ``npm install -g git-argue``. You may need ``sudo``.
- Run ``git-argue HEAD~1 HEAD`` in any git repository to see the blame delta for the last commit.

## Examples

Find blame delta from the last commit:

$ git-argue HEAD~1 HEAD

When installed globally:

$ git argue HEAD~1 HEAD

lib/models/sequelize/users.js ---+++
| tywalch | Harry Wazzell |
7 tywalch EndUserName: {
8 tywalch type: DataTypes.STRING,
7 tywalch EndUserNameKey: {
8 Harry Wazzell type: DataTypes.UUID,

11 tywalch validate: validations.validate('Username', validations.presets.GUID)
11 Harry Wazzell validate: validations.validate('End Username Key', validations.presets.GUID)