GithubHelp home page GithubHelp logo

ibrahima / git-timemachine Goto Github PK

View Code? Open in Web Editor NEW

This project forked from purcell/git-timemachine

0.0 2.0 0.0 804 KB

Step through historic versions of git controlled file using everyone's favourite editor

License: GNU General Public License v3.0

Emacs Lisp 100.00%

git-timemachine's Introduction

Git time machine

Timemachine

Installation

MELPA

Installation alternatives:

  • Download git-timemachine.el and drop it somewhere in your load-path.
  • If you use el-get, simply add git-timemachine to your packages list.
  • If you have melpa configured it's available through package-install.

Usage

Visit a git-controlled file and issue M-x git-timemachine (or bind it to a keybinding of your choice). If you just need to toggle the time machine you can use M-x git-timemachine-toggle.

Use the following keys to navigate historic version of the file

  • p Visit previous historic version
  • n Visit next historic version
  • w Copy the abbreviated hash of the current historic version
  • W Copy the full hash of the current historic version
  • g Goto nth revision
  • q Exit the time machine.

Customize

Set git-timemachine-abbreviation-length (default 12) to your preferred length for abbreviated commit hashes.

Set git-timemachine-show-minibuffer-details (default t) to control whether details of the commit are shown in the minibuffer.

Also M-x customize [git-timemachine].

git-timemachine's People

Contributors

bcarrell avatar damiencassou avatar hickinbottoms avatar phillord-ncl avatar pidu avatar pierre-lecocq avatar pradhanpk avatar purcell avatar rranelli avatar sergey-salnikov avatar swsnr avatar syohex avatar

Watchers

 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.