The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,860 other subscribers

Archive for the ‘Source Code Management’ Category

version control – How can I see the changes in a Git commit? – Stack Overflow

Posted by jpluimers on 2025/12/16

[Wayback/Archive] version control – How can I see the changes in a Git commit? – Stack Overflow (thanks [Wayback/Archive] laktak, [Wayback/Archive] Nevik Rehnel, [Wayback/Archive] Juuso Ohtonen and [Wayback/Archive] User c z – Stack Overflow)

This looks like a valid question, but in reality it is not.

The thing is: in git, think of a commit not as a diff but as a snapshot*.

A diff is the difference between two commits.

Since most commits have just a single parent, so that’s why many people call a commit a diff. But that’s not true, especially not for merge commits that have at least two parents.

Anyway, the question, answer and comment from the link above already give some insight (note COMMIT everywhere below has to be replaced with the commit hash):

Read the rest of this entry »

Posted in Conference Topics, Conferences, Development, DVCS - Distributed Version Control, Event, git, Software Development, Source Code Management | Leave a Comment »

How could i get a permanent link for raw file? · community · Discussion #22537 · GitHub

Posted by jpluimers on 2025/12/04

I used [Wayback/Archive] How could i get a permanent link for raw file? · community · Discussion #22537 · GitHub to go

The reason I needed it is that for quite a while now, GitHub has started to display PDF files as preview, and modified the download behaviour to get a blob: link instead of the actual raw file download location.

On the to do list:

  1. figure out the same for raw files in gists
  2. figure out the same for GitLab
  3. convert these into Bookmarklets (fiddle with the bold parts in the above URLs)

Thanks [Wayback/Archive] Lotaristo (Czeslaw Meyer) and [Wayback/Archive] byrneh (Hugh Byrne)

--jeroen

Posted in Bookmarklet, Conference Topics, Conferences, Development, DVCS - Distributed Version Control, Event, gist, git, GitHub, GitLab, Hosting, JavaScript/ECMAScript, Power User, Scripting, Software Development, Source Code Management | Tagged: | Leave a Comment »

Buddy (software) – Wikipedia

Posted by jpluimers on 2025/12/03

Interesting: Buddy (software) – Wikipedia

Buddy (also known as Buddy.Works) is a web-based and self-hosted continuous integration and delivery software for Git developers that can be used to buildtest and deploy web sites and applications with code from GitHubBitbucket and GitLab. It employs Docker containers with pre-installed languages and frameworks for builds, alongside DevOps, monitoring and notification actions.

On my list of things to try in case built-in GitGub and GitLab functionality does not suffice my needs any more.

I wonder how well it runs on ARM architecture.

–jeroen

Posted in Cloud, Containers, Continuous Integration, Development, DevOps, Docker, DVCS - Distributed Version Control, git, GitHub, GitLab, Infrastructure, Power User, Software Development | Leave a Comment »

Merging Git repositories without losing history – The Continuous Improver

Posted by jpluimers on 2025/11/06

For my link archive: [Wayback/Archive] Merging Git repositories without losing history – The Continuous Improver

Via:

–jeroen

Posted in Conference Topics, Conferences, Development, DVCS - Distributed Version Control, Event, git, Software Development, Source Code Management | Leave a Comment »

Notes in case I want to create my own homebrew cask for installing software they disabled/removed

Posted by jpluimers on 2025/09/16

Some notes as it might enable me to install software that homebrew has deprecated or removed (note that local changes by default are ignored as the brew API takces precedence):

Despite the homebrew repository being a high commit-volume one which makes following it from a clone hard, just did already clone it Read the rest of this entry »

Posted in Apple, Development, DVCS - Distributed Version Control, GitHub, Home brew / homebrew, Mac OS X / OS X / MacOS, Power User, Ruby, Scripting, Software Development, Source Code Management, Versioning | Tagged: , | Leave a Comment »

xahteiwi.eu – Handy Git aliases

Posted by jpluimers on 2025/09/11

For my link archive: [Wayback/Archive] xahteiwi.eu – Handy Git aliases

  • List branches by their date of last modification
  • Delete old topic branches that have been merged
  • Find the origin of a branch point
  • Fix trailing whitespace

–jeroen

Posted in Development, DVCS - Distributed Version Control, git, Software Development, Source Code Management | Leave a Comment »

In case I ever want to import another SVN repository into GitHub (for instance form SourceForge)

Posted by jpluimers on 2025/08/27

The odd thing is that SourceForge has (sf.net) a GitHub project importer (for more than 10 years now!), but not vice versa. You can import a SVN repository in GitHub, but that’s far from importing a complete sf.net project.

More on the importer to import GitHub to SourceForge below, but first the other way around:

These steps worked to get xn-resource-editor.sf.net into github.com/jpluimers/XN-Resource-Editor-TWM (which I did because the GitHub web UI is so much better at browsing and searching commits and files than the SourceForge web UI):

Read the rest of this entry »

Posted in Development, DVCS - Distributed Version Control, GitHub, Software Development, Source Code Management, SourceForge, Subversion/SVN | Leave a Comment »

Figuring out the version of a GitLab instance

Posted by jpluimers on 2025/08/05

The easiest way to figure out the version number of a GitLab instance is to browse to the /help bage.

But be aware the version number only shows when you are signed in.

At the time of writing [Wayback/Archive] Help · GitLab (gitlab.com/help) showed this:

GitLab Enterprise Edition 15.7.0-pre ff1158094d6

The link showed [Wayback/Archive] Commits · ff1158094d6 · GitLab.org / GitLab · GitLab.

When nog logged on, the help page showed this:

GitLab Enterprise Edition

Via [Wayback/Archive] Markdown rendering of double indented lists fails (#33471) · Issues · GitLab.org / GitLab FOSS · GitLab.

Confirmed by [Wayback/Archive] How to check the version of GitLab? – Stack Overflow (thanks [Wayback/Archive] Maxim).

–jeroen

Posted in Development, DVCS - Distributed Version Control, git, GitLab, Software Development, Source Code Management | Leave a Comment »

Needed a binary paste bin since GitHub gists and GitLab snippets cannot even contain non-picture small binaries

Posted by jpluimers on 2025/07/25

Most of what I share is in text or picture form but every once in a blue moon I need to share small binaries publicly in a way mere mortals can use.

Since neither GitHub gists nor GitLab snippets support other binary files than images*, and most Pastebin sites are text-only I queried [Wayback/Archive] binary pastebin – Google Search which got me to [Wayback/Archive] Binary pastebin | boltblog.

That in turn pointed to [Wayback/Archive] Pastebin (paste.c-net.org) which has a full page of help, including this important bit:

Read the rest of this entry »

Posted in Development, gist, GitHub, GitLab, Power User, Source Code Management | Tagged: , | Leave a Comment »

Installing and authenticating the GitHub CLI gh and GitLab CLI glab on Windows

Posted by jpluimers on 2025/07/16

As a keyboard person, I prefer to live on the CLI (command-line interface), so when possible I prefer command-line tools over GUI tools (especially since command-line tool are way easier to script).

In the past on non-Windows systems I used gist (see below), but that is not available on Windows unless you have a Ruby environment.

Some notes on Windows to install and authenticate GitHub CLI (gh) and GitLab CLI (glab), both of which I previously mentioned in Tribal Knowledge? Getting the public keys from github and gitlab users from their username.

For me, installing is easiest through Chocolatey (version numbers from the time of writing; the non-archived URLs point to the most current version available):

This was my install script:

Read the rest of this entry »

Posted in Conference Topics, Conferences, Development, DVCS - Distributed Version Control, Event, git, GitHub, GitLab, Power User, Software Development, Source Code Management | Tagged: | Leave a Comment »