juan_gandhi: (Default)
Juan-Carlos Gandhi ([personal profile] juan_gandhi) wrote2021-11-28 11:12 am
Entry tags:

сяу

git commit .

Источник: Git в реальной жизни
lomeo: (Default)

[personal profile] lomeo 2021-12-04 10:27 pm (UTC)(link)
Wow, it looks a bit scanty to me.

cherry-picking? rebase? fixup commits? commit-to-branch? routine operations like merge-PR-delete-remote-branch-delete-local-branch-pull-master? regular things.

https://github.com/nvie/git-toolbelt
https://github.com/wfxr/forgit
lomeo: (Default)

[personal profile] lomeo 2021-12-06 09:57 pm (UTC)(link)
This is the Way :) It should be in your own scripts, right.

By fixup commit I meant

> git commit --fixup=COMMITHASH
> git rebase --autosquash ...
lomeo: (Default)

[personal profile] lomeo 2021-12-06 10:21 pm (UTC)(link)
About cherry-picking. That's right, this tool is definitely sloppy, we lose control over history, the commits are unrelated.

But it's extremely helpful when you need to copy fixes from the developer branch to the release branch. And shit happens, you know.