Git Product home page Git Product logo

Comments (6)

joshgoebel avatar joshgoebel commented on August 10, 2024

Why we're at it any objection to staging files from the git commit when users have turned on viewing commit summaries?

from gitsavvy.

alextegelid avatar alextegelid commented on August 10, 2024

I often forget to stage some file and I don't think it's a big deal closing the commit message, returning to the status view and stage the remaining file/files from there

from gitsavvy.

joshgoebel avatar joshgoebel commented on August 10, 2024

Yeah, I've kept doing the same thing but if I'm seeing the problem on the commit view I'm not sure why I shouldn't able to just solve it right there.

from gitsavvy.

divmain avatar divmain commented on August 10, 2024

Hmm, I'll think on that... Updating description to reflect possible enhancement.

from gitsavvy.

divmain avatar divmain commented on August 10, 2024

Related to #89.

from gitsavvy.

kaste avatar kaste commented on August 10, 2024

Relevant parts have been implemented here. You can unstage and discard right in the diff. You cannot stage as we're only showing what gets committed. T.i. it is either staged or we're in --all mode.

Unstaging in --all mode is not implemented and would be interesting, maybe. Since technically nothing is staged in that mode, we would stage everything but the hunk/line the user wanted to unstage. And the of course switch away from --all mode to the normal commit-whats-staged mode. 🤔

from gitsavvy.

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.