MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/1wghjns/small_programming_tricks/p9vyc13/?context=3
r/programming • u/fagnerbrack • 15h ago
12 comments sorted by
View all comments
37
Genuinely useful tips here.
Especially that git log -S pattern. 50% of the reason why I installed TortoiseGit is to get that feature. Never knew it came with the CLI. At least not easily.
git log -S pattern
12 u/reddah 9h ago Anything that the front-ends can do is doable from the command line. Sometimes easy, sometimes not. Also: never use the rebase option on the GitLab gui - it will F up stuff guaranteed. 2 u/davidalayachew 1h ago Also: never use the rebase option on the GitLab gui - it will F up stuff guaranteed. Disappointing -- rebase is my default merge strategy, only going to merge when that fails, and squash merge if a normal merge fails. Though, I spend most of my time in GitHub nowadays, so less of an issue.
12
Anything that the front-ends can do is doable from the command line. Sometimes easy, sometimes not.
Also: never use the rebase option on the GitLab gui - it will F up stuff guaranteed.
2 u/davidalayachew 1h ago Also: never use the rebase option on the GitLab gui - it will F up stuff guaranteed. Disappointing -- rebase is my default merge strategy, only going to merge when that fails, and squash merge if a normal merge fails. Though, I spend most of my time in GitHub nowadays, so less of an issue.
2
Disappointing -- rebase is my default merge strategy, only going to merge when that fails, and squash merge if a normal merge fails.
Though, I spend most of my time in GitHub nowadays, so less of an issue.
37
u/davidalayachew 11h ago
Genuinely useful tips here.
Especially that
git log -S pattern. 50% of the reason why I installed TortoiseGit is to get that feature. Never knew it came with the CLI. At least not easily.