Tag: git

Vim increment in git rebase

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…

One disadvantage of git based blog

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…

The fight of gitignores

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…

Using long commit message description

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…

Keep Git fork in sync

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…