Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/10sr/git-walktree-el

Browse Git Tree and Blob Objects
https://github.com/10sr/git-walktree-el

Last synced: about 2 months ago
JSON representation

Browse Git Tree and Blob Objects

Awesome Lists containing this project

README

        

[![Build Status](https://travis-ci.org/10sr/git-walktree-el.svg?branch=master)](https://travis-ci.org/10sr/git-walktree-el)
[![MELPA](https://melpa.org/packages/git-walktree-badge.svg)](https://melpa.org/#/git-walktree)
[![MELPA Stable](https://stable.melpa.org/packages/git-walktree-badge.svg)](https://stable.melpa.org/#/git-walktree)

git-walktree.el
===============

Browse Git tree and blob objects

![ss.png](ss.png)

What is This?
-------------

`git-walktree` is a Git `ls-tree` browser.
It has following features:

- Browse tree (and blob) objects of arbitrary revisions
without checking them out to working directory
- Go up and down tree objects
- Visit blob objects
- Switch to parent and child revisions
- Checkout (dump) tree or blob objects to current working directory

Usage and Keybinds
------------------

M-x git-walktree to open git-walktree buffer.
Prompt user for revision to show.

- When current buffer is visiting a file and it exists in the revision,
open blob buffer for that file
- Otherwise, open tree buffer for `default-directory`

In git-walktree buffers, following keybinds are defined:

- ^ Go up to parent tree object
- P Move to parent revision
- N Move to child revision
- C Checkout current blob or tree object to working directory
- G Move to another revision (ask user)

Additionally, in tree object buffer:

- ENTER Visit tree or blob object at point

License
-------

This software is released under GPL version 3 or (at your option)
any later version.

See `LICENSE` for details.