Code Monkey home page Code Monkey logo

git-whence's Introduction

git-whence is an interactive version of git-blame that makes it easy to reblame at a previous version and follow a line through commit history

git whence src/git.rs

b to reblame at a previous version

B will pop the stack and blame at the initial version (first screenshot)

w to follow a line through commit history

press h for help

installing

assuming ~/bin is on your PATH,

cd ~/bin
curl -L https://github.com/raylu/git-whence/releases/latest/download/git-whence-$(uname -m | sed s/arm64/aarch64/)-$(uname -s | awk '{print tolower($0)}' | sed -e s/darwin/apple-darwin/ -e s/linux/unknown-linux-gnu/) -o git-whence
chmod +x git-whence

alternatively, download a binary from the releases page

or install from source via cargo install git-whence: https://crates.io/crates/git-whence

macOS

brew install --cask raylu/formulae/git-whence

if you downloaded manually and get an error about how it "can’t be opened because Apple cannot check it or malicious software", this is because the quarantine extended attribute has been set by your browser. either xattr -d com.apple.quarantine git-whence or use curl/wget to download instead

git-whence's People

Contributors

raylu avatar

Stargazers

Cooper Marshall avatar Michał Pańczyk avatar Michalina Sidor avatar Strider avatar Alan Pierce avatar

Watchers

 avatar

git-whence's Issues

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.