kernellogger, to linux
@kernellogger@fosstodon.org avatar

Anyone around here who might want to quickly try a hacked up script which illustrates how a bisection with 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:

https://www.leemhuis.info/files/misc/simulate-bisection

Would be cool if a few people could try it and provide feedback, as I'm still not sure if that approach is a good idea…

[1] had a headache and needed something else, simple to do

adamchainz, to random
@adamchainz@fosstodon.org avatar

Yay, updated their docs to recommend the ~/.config/git/ignore for ’s global ignore file over ~/.gitignore_global. Using ~/.config is a standard, avoids cluttering your home directory, and requires no extra configuration.

https://github.com/github/docs/pull/27557/files#diff-2a8f34713f64309f250baf7c6789a9be7fef24b6f2a25c5911ab1d7806d99663L44

shawnhooper, to random
@shawnhooper@fosstodon.org avatar

Today I learned there's more than just the .gitignore file for excluding files from a repo.

https://shawnhooper.ca/2023/12/12/ignoring-files-in-git-more-than-just-gitignore/

adamchainz, to random
@adamchainz@fosstodon.org avatar

’s monthly newsletter is out and I got my book mentioned 😌

https://git.github.io/rev_news/2023/10/31/edition-104/

humblehacker, to swift

Ever wish you could see the history for just a single function in ? 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:

git log -L :login:APIClient.swift

daviwil, to guix
@daviwil@fosstodon.org avatar

🔴 Today on Live, we'll continue our project to use Guix to self-host our own Git forge using Forgejo!

This time we'll get the website live from inside the Guix container and then see if we can set up Laminar to launch CI builds.

Join us here: https://systemcrafters.net/live

🕐 in your time zone: https://time.is/compare/1800_in_Athens

n8, to github
@n8@mastodon.social avatar

for people writing / related :

"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.

estevez, to selfhosted
@estevez@techhub.social avatar

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 )

#selfhosting #selfhosted #synology #SynologyNAS #homelab #HomeServer #git #gitea

Sweetshark, to random
@Sweetshark@chaos.social avatar

I just had this thought and now feel you should suffer from it too:
While plumbing is very solid, its porcelain is often a bit shitty.

Thanks for reading this far.

aral, to foss
@aral@mastodon.ar.al avatar
adamchainz, to random
@adamchainz@fosstodon.org avatar

🌴 Here’s one of my old posts that made it into my new book, making it smoother to work with “legacy” repositories that use “master” for their main branch.

https://adamj.eu/tech/2022/10/27/git-how-to-alias-master-as-main/

tvbeek, to php
@tvbeek@phpc.social avatar

I just the long overdue version 1.2.0 for tjvb/githash this add support for 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 repository.
https://gitlab.com/tjvb/githash

datenschleuder, to InitialD German

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 @blinry https://ohmygit.org/

#37c3 #FireShonks #remote #irl #CountdownCalendar #datenschleuder #git #bird

adamchainz, to random
@adamchainz@fosstodon.org avatar

Destructive branch actions

scidsg, to opensource

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.

Check out https://pirelay.computer and start contributing today!

controlc, to devops
@controlc@mastodon.social avatar

TIL git show <branch|commit>:path/to/file to view a file from another branch or commit. #git #devops #programming

hywan, to fediverse
@hywan@fosstodon.org avatar

Support ActivityPub for merge requests, https://gitlab.com/groups/gitlab-org/-/epics/11247.

> The goal of those documents is to provide an implementation path for adding fediverse capabilities to Gitlab.

w00t

Shi, to python German
@Shi@troet.cafe avatar

Hi Leute, ich suche nach jemandem mit dem ich zusammen " im Team" üben kann.
Ich würde gerne mit , , 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.

adamchainz, (edited ) to random
@adamchainz@fosstodon.org avatar

When it comes to merge conflicts, would you rather fix…

movetodevnull, to random German
blake, to github

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 , 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.)

gemini://blakes.dev/git-bundle-contrib.gmi
https://gmi.blakes.dev/git-bundle-contrib.gmi

320x200, to fediverse
@320x200@post.lurk.org avatar

Software Heritage archival notification for somewhere.onthe.net

Hey 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?

:boost_requested:

tk, to random
@tk@bbs.kawa-kun.com avatar

:blobfoxdisapprove: Naming your primary branch "master".
:blobfoxdrakedislike: Naming your primary branch "main".
:blobfoxcomfy: Naming your primary branch "trunk".

Defolos, to Tumbleweed

Hey @opensuse package maintainers! Do you want to give a try instead of OBS version control? Then join our git packaging test run 💪
https://lists.opensuse.org/archives/list/factory@lists.opensuse.org/thread/JSCCD7GOBU72UA7DPZAM6VC3GLTQJPBI/

adamchainz, to random
@adamchainz@fosstodon.org avatar

tfw you spot something else to fix and use stash

  • All
  • Subscribed
  • Moderated
  • Favorites
  • provamag3
  • InstantRegret
  • mdbf
  • ethstaker
  • magazineikmin
  • GTA5RPClips
  • rosin
  • thenastyranch
  • Youngstown
  • osvaldo12
  • slotface
  • khanakhh
  • kavyap
  • DreamBathrooms
  • JUstTest
  • Durango
  • everett
  • cisconetworking
  • Leos
  • normalnudes
  • cubers
  • modclub
  • ngwrru68w68
  • tacticalgear
  • megavids
  • anitta
  • tester
  • lostlight
  • All magazines