Git Product home page Git Product logo

Comments (4)

naggie avatar naggie commented on September 22, 2024

Could you give an example?

from dstask.

ljmf00 avatar ljmf00 commented on September 22, 2024

Could you give an example?

For example, these were all unpushed changes 355fa41 .. a256f3e:

image

These three commits, are the same operation, but done more than once (e.g. fixing some typo on the notes). Would be good to squash/amend these similar operations.

Also, additionally, it is also possible to amend operations that are not continuous in history, without breaking the git merge strategy.

For example, cef2ff7 and 355fa41:

image
I have four operations distant from a similar one. All these operations were made without pushing. This can be, at least, an option for users that don't want such polluted git history.

from dstask.

Dieterbe avatar Dieterbe commented on September 22, 2024

When using git to manage source code, you'd want a "clean, readable" history.
When using git in dstask, we don't use it in the same way. We only use it as a mechanism for sync, basically.

I can see how what you ask for may make sense in your particular example, and worth pursuing if it's easily doable.
But I can easily imagine other users who would not appreciate that individual changes of the same task get squashed together.

from dstask.

naggie avatar naggie commented on September 22, 2024

I don't think it's worth adding a bit of complexity for the marginal benefit here. Thanks for the idea though.

from dstask.

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.