Giter Site home page Giter Site logo

Comments (3)

michaeldfallen avatar michaeldfallen commented on July 20, 2024

This has been fixed. Both bash_color_remote_commits and zsh_color_remote_commits now return:

git:(upstream ⚡ my-branch)

If the branch is not upstream.

from git-radar.

jackmaney avatar jackmaney commented on July 20, 2024

First of all, thank you for releasing this library. I've been looking off and on for a simple to use, 100% bash solution to this.

I was about to start an issue, but I think this one touches on it... I'm in a repo whose only branches (via git remote -a) are master and remotes/origin/master. Also, these branches are completely in sync (ie git status reveals that the working directory is clean).

However, the prompt is still git:(upstream ⚡ master).

from git-radar.

michaeldfallen avatar michaeldfallen commented on July 20, 2024

Thanks for the kind words. That this has gone from pet project to full blown used by people thing is amazing.

I do think there are a few problems with tracking branches, one example is when you have two remotes and checkout master on those remotes to two different locations.

can you run git remote -a -vvv and comment with the results? if master tracks correctly this shouldn't happen so I'd like to know what's going on too.

from git-radar.

Related Issues (20)

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.