Git Recall

An interactive way to peruse your git history from the terminal
Alternatives To Git Recall
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Bat40,3481352 days ago37September 10, 2022177apache-2.0Rust
A cat(1) clone with wings.
Lazygit33,632216 hours ago209July 18, 2022443mitGo
simple terminal UI for git commands
Gitui12,669117 hours ago41January 26, 2022134mitRust
Blazing 💥 fast terminal-ui for git written in rust 🦀
Pure12,03829 days ago46September 12, 202224mitShell
Pretty, minimal and fast ZSH prompt
Terminals Are Sexy11,129
22 days ago107cc0-1.0Shell
💥 A curated list of Terminal frameworks, plugins & resources for CLI lovers.
Onefetch7,512
2 days ago29March 29, 202227mitRust
Command-line Git information tool
Gitsome7,303
86 months ago12April 07, 201959otherPython
A supercharged Git/GitHub command line interface (CLI). An official integration for GitHub and GitHub Enterprise: https://github.com/works-with/category/desktop-tools
Git It Electron4,25622 months ago1September 20, 2015119bsd-2-clausePerl
:computer: :mortar_board: Git-it is a (Mac, Win, Linux) Desktop App for Learning Git and GitHub
Oh My Git3,523
9 months ago55mitShell
An opinionated git prompt for bash and zsh
Git Game2,892
2 years ago21gpl-2.0
terminal game to test git skills
Alternatives To Git Recall
Select To Compare


Alternative Project Comparisons
Readme

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

Popular Terminal Projects
Popular Git Projects
Popular Command Line Interface Categories
Related Searches

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Shell
Command Line
Git
Terminal
Commit
Diff