miniblog.
← Back to all posts
Jul 26, 2013 at 13:16
Several worthwhile git tips here:
https://zachholman.com/talk/more-git-and-github-secrets/
[1/3]
More Git and GitHub Secrets
Written pieces, talks, and other bits by Zach Holman.
Wilfred Hughes
Related Posts
Feb 21, 2021 at 08:37
1
Today I learnt about --ignore-rev with git-blame. Super handy if git thinks moving some code made you the author. $ git blame --ignore-rev abcdef source_file (Turned out I was still the author, but several years earlier!)
Wilfred Hughes
Shared words: git, Several Score: 24.8
Jan 29, 2018 at 20:15
I've been enjoying learning about git worktrees:
https://spin.atomicobject.com/2016/06/26/parallelize-development-git-worktrees/
When you regularly work on several branches, it's really nice to have separate folders for each branch. You can easily compare files across branches, and you need far less stashing!
Parallelize Development Using Git Worktrees
Gits worktrees give you an extra working copy of your repository, and setting one up is almost as easy as creating a new branch.
Wilfred Hughes
Shared words: git, Several Score: 24.8
Nov 4, 2016 at 13:24
Today's git-fu: splitting a big commit into several well-defined commits:
https://stackoverflow.com/a/6217314/509706
(the time-honoured technique of SO docs)
git - Break a previous commit into multiple commits - Stack Overflow
Wilfred Hughes
Shared words: git, Several Score: 24.8