All Projects → Fakerr → Git Recall

Fakerr / Git Recall

Licence: mit
An interactive way to peruse your git history from the terminal

Programming Languages

shell
77523 projects
Makefile
30231 projects

Projects that are alternatives of or similar to Git Recall

Fblog
Small command-line JSON Log viewer
Stars: ✭ 137 (-93.5%)
Mutual labels:  command-line, log
Simple Console
Add an elegant command-line interface to any page
Stars: ✭ 107 (-94.92%)
Mutual labels:  command-line, log
Exa
A modern replacement for ‘ls’.
Stars: ✭ 15,471 (+633.92%)
Mutual labels:  command-line
Demo
A framework for performing live pre-recorded command line demos in the wild 📼
Stars: ✭ 179 (-91.51%)
Mutual labels:  command-line
Yarnhook
Run `yarn install`, `npm install` or `pnpm install` on git hooks automatically
Stars: ✭ 177 (-91.6%)
Mutual labels:  command-line
Tlog
Terminal I/O logger
Stars: ✭ 170 (-91.94%)
Mutual labels:  log
Monolog Bridge
Provides integration for Monolog with various Symfony components.
Stars: ✭ 2,238 (+6.17%)
Mutual labels:  log
Cocoalumberjack
A fast & simple, yet powerful & flexible logging framework for Mac and iOS
Stars: ✭ 12,584 (+496.96%)
Mutual labels:  log
Npm Run
Run locally-installed node module executables.
Stars: ✭ 180 (-91.46%)
Mutual labels:  command-line
You Dont Need Gui
Stop relying on GUI; CLI **ROCKS**
Stars: ✭ 4,766 (+126.09%)
Mutual labels:  command-line
Pqiv
Powerful image viewer with minimal UI
Stars: ✭ 177 (-91.6%)
Mutual labels:  command-line
Neph
A modern command line job processor, similar with make command
Stars: ✭ 174 (-91.75%)
Mutual labels:  command-line
Slacker Cli
Messages to slack from command line
Stars: ✭ 172 (-91.84%)
Mutual labels:  command-line
Sd
Intuitive find & replace CLI (sed alternative)
Stars: ✭ 2,755 (+30.69%)
Mutual labels:  command-line
Ddgr
🦆 DuckDuckGo from the terminal
Stars: ✭ 2,243 (+6.4%)
Mutual labels:  command-line
Cmt
Write consistent git commit messages based on a custom template
Stars: ✭ 179 (-91.51%)
Mutual labels:  command-line
Git History
Quickly browse the history of a file from any git repository
Stars: ✭ 12,676 (+501.33%)
Mutual labels:  log
Tably
Python command-line script for converting .csv data to LaTeX tables
Stars: ✭ 173 (-91.79%)
Mutual labels:  command-line
Magicli
Automagically generates command-line interfaces (CLI) for any module. Expected options and help sections are created automatically based on parameters names, with support to async.
Stars: ✭ 178 (-91.56%)
Mutual labels:  command-line
Lajax
🚀 lajax - 前端日志解决方案。
Stars: ✭ 181 (-91.41%)
Mutual labels:  log

git-recall

Simple and handy tool to easily recall what you've done

git recall

Purpose

git-recall is a simple tool that allows you to easily go through your commits and check what you or other contributors in your team did. It doesn't aim to be a replacement for the git log command, but just to be a convenient way to recall what you've done from your terminal.

Usage

$ git recall   [-a <author name>]
               [-d <days-ago>]
               [-b <branch name>]
               [-p <paths>]
               [-f]
               [-h]
               [-v]
Options description:
  • -a - Restrict search for a specific user (use -a "all" for all users)
  • -d - Display commits for the last n days
  • -b - Specify branch to display commits from
  • -p - Specify path/s or file/s to display commits from
  • -f - Fetch the latest changes
  • -h - Show help screen
  • -v - Show version
How to use:

Once the commits are displayed, you can use either the arrow keys or j/k to switch between commits, press TAB or e to expand/reduce the commit's diff or q to quit.

Limitations:

when the number of lines between the commits list and a commit's diff is higher than the current terminal session's number of lines, the result will be displayed using the less program which will open the diff in a separate screen. You can still use either TAB or q to return to the commits list.

Examples

$ git recall
# By default (without options), the command will display commits from yesterday and
# for the current user.
$ git recall -d 5 -a "Doge"
# The command will show all Doge's commits from 5 days ago.

$ git recall -d 5 -a "all"
# The command will show commits of all contributors from 5 days ago.
$ git recall -f
# Fetch commits beforehand.

Installation

Without using tools

You can install it by simply copying the git-recall script into any existing path (e.g. /usr/local/bin) or create your own directory and add it to the PATH variable.

Make sure to run chmod +x /usr/local/bin/git-recall or the directory in which you copied it to.

Using NPM

Use npm to install the project.

npm install --global git-recall
Manual install

Clone the project and install it using make install.

$ git clone https://github.com/Fakerr/git-recall.git
$ cd git-recall
$ sudo make install

Requirements

  • OS: Linux or OSX
  • Bash 4.3 or more
  • Tools: git, less, sed
Optional Requirements
  • For a better UX, it's recommended to have installed the lesskey program.

Contribution

Pull requests are welcome, along with any feedback or ideas.

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].