question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Display Git information

See original GitHub issue

My idea would be to separate related sections of git info into separate hyperline plugins.

  • git-diff : Shows the additions and deletions (in # of lines) of the current working directory
  • git-path-status : Shows stats about the current working directory (is staged, is ignored, is modified, is new)
  • git-branch : Shows the name of the current branch

I’d be interesting in implementing this and submitting a PR if that is okay with the maintainers.

We could possibly use this library.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:16
  • Comments:13 (4 by maintainers)

github_iconTop GitHub Comments

3reactions
timneutkenscommented, Feb 27, 2017

@Anahkiasen me, @NickTikhonov and @henrikdahl have plans to combine the two status lines. Just haven’t had time to implement it all 😄 I’ll have a look when I get to it 😃

2reactions
corbin-rcommented, Jul 24, 2017

@sangdth this feature is being worked on by @henrikdahl and myself. Henrik has this feature already in a statusline plugin of his own so it’s mainly the process of getting it ported over to Hyperline.

Read more comments on GitHub >

github_iconTop Results From Across the Web

git-show Documentation - Git
This is the default for git log , git show and git whatchanged commands when there is no --pretty , --format , or...
Read more >
git config - How to know the git username and email saved ...
Run git config --list , showing system, global, and (if inside a repository) local configs · Run git config --list --show-origin , also...
Read more >
How to show or change your Git username or email address ...
git config -get [user.name | user.email]; git config –list; or, open your git config file directly. Let's examine each of these show your...
Read more >
Git Cheat Sheet
git config --list --show-origin display path to config files. Getting help command ... show info about specific commit. Git Commit Workflow command.
Read more >
Git Status: Inspecting a repository | Atlassian Git Tutorial
The git status command displays the state of the working directory and the staging area. It lets you see which changes have been...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found