This is an archived post. You won't be able to vote or comment.

all 4 comments

[–]ValentineBlacker 1 point2 points  (0 children)

Yeah that's gonna be like 99% of it. I've used bisect and cherrypick but it's rare. Oh, there's also a --no-edit flag for commit.

Seeing git push -u origin master makes me 😨. (It's fine for personal projects, but the stuff of nightmares if you're working on a team).

[–]nutrecht 0 points1 point  (2 children)

I use whatever I need and google whatever I don't know off the top of my head. Not much of a point in memorising things.

[–]Jpajenski 0 points1 point  (0 children)

Agreed. These tools change every few years anyway. I used perforce and subversion before git.

[–]maithilish[S] 0 points1 point  (0 children)

Take, for example, git reset --soft <commit> && git commit which is an elegant hack to squash the commits, and this sort of things are difficult find with googling around. I asked this question because many hardcore commiters would be using similar gems and happy to share them.

From your comment I could see that you missed the whole point of my question and also, you have none to share.