Anyone around here who might want to quickly try a hacked up script which illustrates how a #Linux#kernel bisection with #git works?
It seems to me many people struggle with the concept. To maybe help out here I yesterday[1] wrote a small bash script which simulates the whole process:
Yay, #GitHub updated their docs to recommend the ~/.config/git/ignore for #Git’s global ignore file over ~/.gitignore_global. Using ~/.config is a standard, avoids cluttering your home directory, and requires no extra configuration.
Ever wish you could see the history for just a single #Swift function in #git? You can use:
git log -L :function:file
But git doesn’t know how to find Swift functions by default. You can help it by following these instructions to add “Better diff hunk headers with Swift”: https://juripakaste.fi/swift-git-attributes/
Then the following example would show you all the changes to the login function in APIClient.swift:
"Clone the Foo repository" is a sentence that means one specific command in git lingo, to people who already know all the git lingo. To a normal person reading your page, it sounds like it means something abstract about making their repository resemble the Foo repository, and if their attempt at copying what they see misses some important detail, the fault was your page not clearly explaining that it meant that specific command.
I tried to host a #GitLab on my #NAS yesterday. It was nice to see it working, but not so nice to see how it eats all available RAM. Then I discovered @gitea )
🌴 Here’s one of my old #Git posts that made it into my new book, making it smoother to work with “legacy” repositories that use “master” for their main branch.
I just #released the long overdue version 1.2.0 for tjvb/githash this add support for #PHP 8.2 (the change was merged 8 months ago but I forgot to released a new version)
This package helps you to find the hash of the current commit from a #git repository. https://gitlab.com/tjvb/githash
Tag ➖1️⃣8️⃣. War spät gestern. Heute, am Tag der Chöre (Gratulation an den Chaos Chor) wurde vor 155 Jahren die erste Ampel in Betrieb genommen. Damals noch mit Gaslicht, vom House of Parliaments. Unser Linkchen heute: Das großartige Spiel von @bleeptrack und @blinryhttps://ohmygit.org/
What would you do if suddenly you couldn't access Google, The New York Times, or Wikipedia anymore? Censorship like this is a reality for many people around the world, including in China, Iran, Russia, and an increasing number of other countries.
You can help people experiencing censorship by safely transforming a Raspberry Pi into a Tor middle relay from home.
Hi Leute, ich suche nach jemandem mit dem ich zusammen "#Programmieren im Team" üben kann.
Ich würde gerne mit #Python, #Git, #GitHub o.ä., zusammen mit jemandem ein kleines Projekt machen. Bisher programmiere/lerne ich nur alleine.
Wenn man Sprachen lernt, sucht man sich ja am besten auch einen Partner oder Mentor oder so, daher diese Idee. An richtige OpenSource Projekte traue ich mich noch nicht dran.
Denke an ca. 1x die Woche zusammen an was arbeiten. Auf Englisch geht auch.
Gern teilen.
In some cases, it may not be desirable to create (or use) a code-forge account to create a merge request or file an issue: if you're against #GitHub, have too many accounts, or you're submitting a security patch, or if the forge doesn't accept registrations. For this reason, I accept contributions via email, and you should too.
(I prefer Git bundles as they are easier and more flexible to work with.)
Software Heritage archival notification for somewhere.onthe.net
Hey #fediverse I suppose many of you are also getting these email notifications and heads up regarding automated archiving of your self-hosted repos. Anyone knows a bit more about what's up with this project/initiative?