Tag: git
Git is a rather beefy tool,
boasting up to 150 subcommands,
with the exact figure varying depending on the git version. Using the
method from the thread on my machine:
$ git help -a | grep "^ " | wc -l
144
The 144 subcommands currently, however skewed the above metric…
A quick and dirty way I usually combine private repositories is to use the
--rebase option for git pull. I have written about such option already
in a post about
keeping git fork in sync with the upstream.
Here's how to do it:
git remote add --fetch other ../other-repository
git …
Accidentally stumbled upon a hidden vim feature. The normal mode key
shortcuts responsible for increasing the number, Ctrl+a (increment) and
for decreasing the number following the cursor, Ctrl+x (decrement) do
something different during the interactive rebase editor. Watch for
y…
My statically generated blog (SSG) based on
Sapper that is currently being phased out in
favor of Svelte Kit that unfortunately takes too
long to get into production phase is without any underlying database. This
is nothing special and fairly common for other SSGs, as data are lo…
Roaming around someone else's cloned repository with many different files
and fiddling some lines here and there, it is worth using good tools to
speed up the process.
Since it is a repository, naturally for me the git is the go to tool for
the version control. Finding files is e…
I have stumbled upon the
short post that
contained the following:
~200 lines of commit message for +5/-8 change @ #FreeBSD:
https://freshbsd.org/freebsd/src/commit/9a2fac6ba65fbd14d37ccedbc2aec27a190128ea
This obviously made me think. Is such a long description necessary? And i…
Steps below explain to keep the forked version up to date with the upstream
branch of a forked repository. I know this was already documented many
times, but I was struggling with it for some time, until I have found the
workflow that suits me the best, so I documented it.
Create…