Coder Social home page Coder Social logo

Rebasing about chocolatey-packages HOT 4 CLOSED

ferventcoder avatar ferventcoder commented on June 5, 2024
Rebasing

from chocolatey-packages.

Comments (4)

TomOne avatar TomOne commented on June 5, 2024

Not sure what you are trying to say here.

Rebasing is already part of my Git workflow if it’s necessary.

from chocolatey-packages.

ferventcoder avatar ferventcoder commented on June 5, 2024

I was looking at the history of this repo. Git fetch && git rebase is always preferred to git pull. That way your commits are always played on top of changes that are already out. It avoids a merge commit that you need to push. And many times merge conflicts. :)

from chocolatey-packages.

TomOne avatar TomOne commented on June 5, 2024

Sorry, I didn’t know what your policy for this was. From now on I’ll stick to it.

from chocolatey-packages.

ferventcoder avatar ferventcoder commented on June 5, 2024

I should really publish my policy somewhere.

  • For pulling from upstream (same branch), it is always git fetch && rebase. That way your commits are always played after the commits that were there.
  • For merging PRs/branches, it is git merge --no-ff (merge commit is definitely warranted here, it makes a revert so much simpler)
  • Never ever force push to main repository
    • but it's not only okay for fork repositories, it's actually warranted. Especially when surrounding PRs. This keeps the discussion all in one place - see puppetlabs/puppet#2817 as an example (note the outdated diff discussion items).

from chocolatey-packages.

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.