News for hackers. Stuff that matters.
Re:Extremely Linear Git History by couchand on Tuesday November 22, 2022 @03:31PM (#33711065)
Totally on board (except the forbidden -a switch).

The last command is:

    cp .git/refs/heads/feature .git/refs/heads/main
No merge needed.
Re:Extremely Linear Git History by xxpor on Tuesday November 22, 2022 @03:38PM (#33711153)
Touching files in .git (outside of like, .git/config) directly gives me the heebee jeebees
Re:Extremely Linear Git History by couchand on Tuesday November 22, 2022 @04:48PM (#33712012)
Fair point, and I would not advocate that specific workflow! My point was just to illustrate that we can live without merge.
Re:Extremely Linear Git History by a_t48 on Tuesday November 22, 2022 @07:47PM (#33713642)

    git reset --hard main feature