Giter VIP home page Giter VIP logo

dired-git.el's Introduction

https://raw.githubusercontent.com/conao3/files/master/blob/headers/png/dired-git.el.png https://img.shields.io/github/license/conao3/dired-git.el.svg?style=flat-square https://img.shields.io/github/tag/conao3/dired-git.el.svg?style=flat-square https://github.com/conao3/dired-git.el/workflows/Main%20workflow/badge.svg https://img.shields.io/codacy/grade/62a36f4f04524d5e8c758440e8071c45.svg?logo=codacy&style=flat-square https://img.shields.io/badge/twitter-@conao__3-blue.svg?logo=twitter&style=flat-square https://img.shields.io/badge/chat-on_slack-blue.svg?logo=slack&style=flat-square

Table of Contents

Description

Display Git repository information in dired.

M-x dired-git-mode https://raw.githubusercontent.com/conao3/files/master/blob/dired-git.el/dired-git.png

M-x dired-git-mode with dired-hide-details-mode https://raw.githubusercontent.com/conao3/files/master/blob/dired-git.el/dired-git-summary.png

Install

Install this package via MELPA.

Usage

To use this package, simply add this to your init.el

(add-hook 'dired-mode-hook 'dired-git-mode)

Customize

Information

Community

All feedback and suggestions are welcome!

You can use github issues, but you can also use Slack if you want a more casual conversation.

Contribution

We welcome PR!

Require tools for testing

  • cask
    • install via brew
      brew install cask
              
    • manual install
      cd ~/
      hub clone cask/cask
      export PATH="$HOME/.cask/bin:$PATH"
              

Running test

Below operation flow is recommended.

make                              # Install git-hooks in local .git

git branch [feature-branch]       # Create branch named [feature-branch]
git checkout [feature-branch]     # Checkout branch named [feature-branch]

# <edit loop>
emacs dired-git.el                # Edit something you want

make test                         # Test dired-git via multi version Emacs
git commit -am "brabra"           # Commit (auto-run test before commit)
# </edit loop>

hub fork                          # Create fork at GitHub
git push [user] [feature-branch]  # Push feature-branch to your fork
hub pull-request                  # Create pull-request

Migration

License

General Public License Version 3 (GPLv3)
Copyright (c) Naoya Yamashita - https://conao3.com
https://github.com/conao3/dired-git.el/blob/master/LICENSE

Author

Contributors

dired-git.el's People

Contributors

conao3 avatar berhoel avatar

Stargazers

Ravioli avatar Mir Behroz Noor avatar Vee Satayamas avatar Cqws avatar jdhao avatar John Young avatar Jorge Gomez avatar  avatar  avatar Adam McCullough avatar  avatar Clemens Radermacher avatar

Watchers

James Cloos avatar  avatar  avatar

dired-git.el's Issues

Doesn't work on Windows

Warning (emacs): Fail invoke git command
buffer: #
reason:(exited abnormally with code 255
FIND: Parameter format not correct
'tr' is not recognized as an internal or external command,
operable program or batch file.
)

Fix GitHub Actions yml

Fix GitHub Actions yml.

  • Do test in Emacs-27.1
  • Do all test job if fail some jobs
  • Don't run double CI for PR and branch

Wrong composition of git command

I get some messages

fatal: Die Option '--oneline' muss vor den Argumenten kommen, die keine Optionen sind.

The error message translates to something like

The Option '--oneline' has to come before any argument that is no option.

I am currently not able to identify any file or directory names causing his problem.

What information does this package show?

The description of this package is very brief: it displays git repository information.

But what information specifically?

Will this package indicate which files have been:

  • Added?
  • Modified?
  • Ignored?
  • Deleted?

I don't understand what the screenshots are showing.

  • I can see what appears to be two branch names. Why does one file say "feature#266"? Which branch is currently checked out?
  • What do the icons signify? Some files have a circled exclamation mark, and others looks something which looks a bit like a space rocket.

Git info doesn't show up

After installing the package from Melpa and running dired-git-mode in a Dired buffer, nothing changed. The messages buffer logs a Dired-Git mode enabled in current buffer but nothing else happens

Error when using

After (add-hook 'dired-mode-hook #'dired-git-mode) I get this error when entering a dired buffer:

Warning (emacs): Fail dired-git-refresh
  buffer: #<buffer .emacs.d>
  reason: (wrong-number-of-arguments (1 . 1) 3)

unfortunately condition-case is preventing me from seeing the backtrace for this error, so I'm not sure where it's coming from

I'm using beta snap emacs (https://snapcraft.io/emacs) on ubuntu 20.04

GNU Emacs 27.0.91 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.22.30, cairo version 1.15.10) of 2020-05-24

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.