Only branch name is shown, but nothing else
See original GitHub issueHi,
I’m new to powerline, so I might have misconfigured it, but I can’t get powerline-gitstatus to show anything but the branch name.
Contents of ~/.config/powerline/config.json
:
{
"ext": {
"shell": {
"colorscheme": "default",
"theme": "default_leftonly"
}
}
}
The ~/.config/powerline/themes/shell/default.json
and ~/.config/powerline/colorschemes/default.json
are copied from the powerline-gitstatus readme as-is.
The output of git status --branch --porcelain
is:
## master...origin/master [ahead 2]
M Doxyfile
However, powerline-gitstatus looks like this: http://imgur.com/a/uNjWo ― the branch name is shown, but it doesn’t say how many modified files I have or how many commits I’m ahead of origin/master
.
I have git
version 2.13.5
.
What am I doing wrong?
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:8 (3 by maintainers)
Top Results From Across the Web
git branch is not showing all the branches - Stack Overflow
Use git branch -a to see all branches in repo and then you can use git checkout branchname to checkout to respective branch....
Read more >git-branch Documentation - Git
With --contains , shows only the branches that contain the named commit (in other words, the branches whose tip commits are descendants of...
Read more >Branches - GitLab Docs
A branch is a version of a project's working tree. You create a branch for each set of related changes you make. This...
Read more >Using branch permissions | Bitbucket Data Center and Server ...
With branch permissions you can control the actions users can perform on a single branch, branch type, or branch pattern within a repository...
Read more >Git Delete Branch How-To, for Both Local and Remote
git push --delete <remote name> <branch name> ... you can only move backward, so there's no way for you to reach the commits...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Just for the record and to avoid people crawling each issues 1 by 1 : I had the same issue, but found the solution in here : https://github.com/jaspernbrouwer/powerline-gitstatus/issues/13
For the record, I came across it by running
powerline-lint
@jaspernbrouwer thanks, I got it working now by
I created colorschemes and shell directories under my home dir
Place
powerline_gitstatus.gitstatus
on the left section in shell/default.json and with priority 10Here is the complete
~/.config/powerline/themes/shell/default.json