Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Root797733y@dder I think so. First time I’ve heard TIFO, at least.
@Floydimus No ~
Anyway, rebase is awesome. I don’t use it much, though. I don’t like the idea of losing history, even if it’s cleaner. -
dder22813yIt was not pushed at the time.
I agree having a clean history, but in this case I forgot to add a hunk to that one commit, cause it is logically attached.
Oh and regarding TIFO
https://devrant.com/rants/4415765/... -
@dder that rant was the first time I ever saw someone use TIFO instead of TIL. Yours is the second.
-
When I'm working I usually commit everything in one bit WIP commit, and when the feature is done I use interactive rebase and interactive staging to separate logical commits. Perhaps one where I put the migration for adding background tasks, one for the feature itself and one for formatting fixes.
Interactive staging `git add -i` lets you pick chunks of code rather than whole files and usually makes good guesses as to what the relevant code in one chunk should be. -
@Root wow, thanks π That means a lot coming from you, who to me are as close to an idol as this platform serves up.
-
@Root well, omniscience is not a requirement, but a willingness to be open and share knowledge, experience and opinions, sometimes firmly, sometimes vocally, sometimes modestly, as well as actively participating in the community while showing a willingness to learn is really what it is about βΊοΈ
Related Rants
!rant
To embrace the TIFO (today I found out)
$git rebase -i <hash>^
You can reorder commits and squash.
I just used it, to amend a commit that was not HEAD with some changes I’ve done later.
rant
git
tifo
git commit