Article
Backporting/Replaying Changes using git format-patch
and git apply
/ git-am
(2 mins read).
Using git format-patch
and git apply
/git am
to apply a patch, if git cherry-pick
isn't available.
Tue, 17 Dec 2019 21:33 by Jamie Tanna
.
#blogumentation
#git .
Article
List What Files Changed in a Git Commit (1 mins read).
How to list what files changed in a given commit.
Sun, 15 Dec 2019 22:28 by Jamie Tanna
.
#blogumentation
#git
#command-line .
Reply
From me it's a no - I see why some people want it, but would rather prefer they stay out of the already limited space in the commit message title, and there's a level of arguable subjectivity of what an emoji means especially as different teams, projects and cultures have views on it.
But then again, so does written language, but I feel that is at least more known?
Wed, 11 Dec 2019 19:56 by Jamie Tanna
.
#git .
Bookmark
This is an interesting idea - I've not been bitten by it before, but may be worth adding to my dotfiles anyway
Sat, 07 Dec 2019 00:57 by Jamie Tanna
.
#zsh
#git
#dotfiles .
Article
Only Adding Changes for Tracked Files With Git (1 mins read).
How to only add files that have changed with git add -u
.
Thu, 21 Nov 2019 22:30 by Jamie Tanna
.
#blogumentation
#nablopomo
#git .
Article
Creating a Global .gitignore
(1 mins read).
How to have Git have a list of files to globally ignore, without configuring anything in your ~/.gitconfig
.
Fri, 15 Nov 2019 00:31 by Jamie Tanna
.
#blogumentation
#git
#nablopomo .
Article
DevOpsDays London 2019 (63 mins read).
A writeup of the DevOpsDays London conference, and the talks and Open Spaces I attended.
Sat, 12 Oct 2019 12:56 by Jamie Tanna
.
#devopsdays
#devops
#cloud
#events
#monolith
#microservices
#testing
#security
#git
#sre
#on-call
#legacy-code
#agile
#ethics
#aws
#empathy .
Article
Getting git diff
Outputs Without a Prefix (1 mins read).
How to remove a/
and b/
from git diff
outputs.
Fri, 11 Oct 2019 19:39 by Jamie Tanna
.
#blogumentation
#git .
Article
Pushing your Git Branches to a Matching Remote Branch (1 mins read).
How to save yourself from typing git push --set-upstream origin ${branch}
and have Git determine the branch you're pushing to.
Sun, 22 Sep 2019 15:33 by Jamie Tanna
.
#blogumentation
#git .
Article
Adding Newlines to all Files in Git (3 mins read).
Adding newlines at the end of all Git-tracked files.
Mon, 02 Sep 2019 22:35 by Jamie Tanna
.
#git
#shell
#command-line
#blogumentation .
Bookmark
GitHub always have a great recap of the new Git releases, and this is another - I'm particularly interested in some of the changes around git checkout
Sat, 17 Aug 2019 22:39 by Jamie Tanna
.
#git .
Bookmark
I've not had to debug that many .gitignore files in the past, but it's great to know how I would do it in the future
Sun, 30 Jun 2019 21:30 by Jamie Tanna
.
#git .
Article
Easily rewriting Git URLs from HTTPS to SSH and vice versa (2 mins read).
How to use Git's config to rewrite HTTPS URLs to SSH and vice versa, for repo pushes and pulls.
Wed, 20 Mar 2019 10:39 by Jamie Tanna
.
#blogumentation
#git .
Article
Using git worktree
to have multiple branches checked out at once (4 mins read).
How to use git worktree
to check out multiple Git branches from the same repo at once.
Tue, 29 Jan 2019 21:39 by Jamie Tanna
.
#blogumentation
#git
#git-worktree .
Article
Using Git refs to help track your GitLab Environments, from your local repo (2 mins read).
How to pull the Git refs that GitLab Environments exposes in your GitLab repo.
Sat, 19 Jan 2019 18:06 by Jamie Tanna
.
#blogumentation
#git
#gitlab
#review-apps
#git-ref .
Article
Using Git refs to check out GitHub Pull Requests, from your local repo (2 mins read).
How to pull the Git refs for Pull Requests to your GitHub repo.
Sat, 19 Jan 2019 17:18 by Jamie Tanna
.
#blogumentation
#git
#github
#git-ref .
Article
Using Git refs to check out GitLab Merge Requests, from your local repo (2 mins read).
How to pull the Git refs for Merge Requests to your GitLab repo.
Sat, 19 Jan 2019 17:18 by Jamie Tanna
.
#blogumentation
#git
#gitlab
#git-ref .
Article
Using git commit --fixup=
to track changes that need to be applied on top of another commit (4 mins read).
Using git commit --fixup=
and git rebase --autosquash
to easily track and squash fix commits.
Thu, 10 Jan 2019 17:07 by Jamie Tanna
.
#blogumentation
#git .
Article
Backporting/Replaying Changes Using git cherry-pick
(6 mins read).
Using git cherry-pick
to make it easier to backport or replay Git commits across different versions of your codebase.
Sun, 28 Oct 2018 22:22 by Jamie Tanna
.
#blogumentation
#git
#git-cherry-pick .
Article
Safely Force Pushing with Git using --force-with-lease=ref
(6 mins read).
How git push --force-with-lease=ref
can save you from overriding others' changes on shared Git branches.
Tue, 18 Sep 2018 17:08 by Jamie Tanna
.
#git
#blogumentation
#command-line .
Article
My editorial workflow for blog posts (8 mins read).
Taking you through the journey I go on when writing blog posts, from ideation to publishing the post.
Tue, 11 Sep 2018 23:16 by Jamie Tanna
.
#www.jvt.me
#workflow
#ci
#gitlab
#git
#automation
#command-line
#shell
#gitlab-ci
#review-apps .
Article
Viewing Git history of a file in git log
while ignoring file renames (5 mins read).
How to track changes to files in Git without pesky file renames getting in the way, using git log --follow
.
Tue, 11 Sep 2018 18:27 by Jamie Tanna
.
#git
#command-line
#shell
#blogumentation .
Article
Merging multiple repositories into a monorepo, while preserving history, using git subtree
(3 mins read).
How to merge multiple repositories, with their history, into a single repository, using the git subtree add
command.
Fri, 01 Jun 2018 20:44 by Jamie Tanna
.
#blogumentation
#git
#monorepo
#git-subtree
#command-line .
Article
Better Git Diff Outputs with Git Submodules (2 mins read).
How to get nicer diff
s when working with submodules.
Fri, 04 May 2018 11:59 by Jamie Tanna
.
#blogumentation
#git
#command-line .
Article
Clean up your Git branches (3 mins read).
Remove any merged local or branches from your local Git repository.
Wed, 07 Jun 2017 20:33 by Jamie Tanna
.
#blogumentation
#git .
Article
Viewing your diff while writing your commits with git commit --verbose (3 mins read).
Making it easier to write commit messages by having the diff in your editor.
Thu, 01 Jun 2017 20:04 by Jamie Tanna
.
#blogumentation
#git
#commit
#shell
#workflow .
Article
Saving Repetition with Git Commit Templates (3 mins read).
Speed up your commit message writing by providing a template for when you run git commit
.
Mon, 17 Apr 2017 19:27 by Jamie Tanna
.
#blogumentation
#tools
#git
#workflow
#automation .