git

Back Open Paginator
25.03.2026 01:29
cy (@cy@fedicy.us.to)
#git repository A has commits A0, A1, ... An. Repository B has a galaxy brain dev who just copied the source files from commit A7 into a new repository and created B0, B1, ... Bn.

Since B0 and A7 are functionally identical, it should be possible to rebase B1...Bn onto A7, to make a new branch off A7 with the same changes as in B1...Bn, and then I can merge it with An. Except that repositories A and B have unrelated histories, thanks to aforementioned galaxy brained genius.

Is this even possible? Or should I just merge An and Bn with allow-unrelated-histories, and hope that the merge finds A7 to use as a base?

#help #programming #ask #question


Show Original Post


25.03.2026 00:38
cy (@cy@fedicy.us.to)
#git command for fixing it when some asshole just copies and pastes the source code for a given commit into a new repository, discarding all history. #programming #FuckEverything


Show Original Post


24.03.2026 23:46
zwarf (@zwarf@social.anoxinon.de)

I have a ventilation system in my house which is broken. A #repair would cost 2500 Euro but it is a dumb system without home automation. I am right now soldering my own control unit together which I was working and testing for some weeks already based on an #ESP8266 . I estimate the total cost of this repair to be 150 Euro and it will have way more functionality afterwards, will be easier to repair and has #HomeAssistant integration. If it works I will #OpenSource the stuff and put it on #Git.




Show Original Post


24.03.2026 23:03
articles (@articles@ruby-news.kr)

Git 데이터 모델 공식 문서화 및 매뉴얼 개선 프로젝트

Git의 데이터 구조를 정의하는 '데이터 모델' 문서가 공식 매뉴얼에 추가되어 객체, 참조, 인덱스 간의 유기적 관계를 명확히 설명한다.

🔗 원문 보기




Show Original Post


24.03.2026 18:30
fl0und3r (@fl0und3r@defcon.social)

Anyone know a faster way to get through merge conflicts? Preferably on the terminal, I'm imagining a 'git add -p' style interface that shows all conflicts in all tracked files but with options to accept current or incoming like in vs code.

Also I'm not a big fan of vimdiff, it's slow to start (this is in Cygwin on Windows so everything is slow to start!), it only does one file at a time, and the colors make it hard to read. Also, I couldn't find shortcuts to accept current or incoming. This is vim, so all of these problems except the speed are solvable, but the speed is a deal breaker.

#git #askfedi #vimdiff #mergeconflicts




Show Original Post


24.03.2026 14:59
smartgit (@smartgit@techhub.social)

Which command initializes a new Git repository?
$ ??? .

Check out the correct answer and reinforce your Git knowledge with immediate feedback on every quiz question here 👉 git-skills.dev/quiz/git-basics/
#Git #SoftwareEngineering #SmartGit #DevOps #DevTools

git start
git create
git init
git new




Show Original Post


24.03.2026 12:47
allibragi (@allibragi@livellosegreto.it)

My company bought another one (actually, it was forced to do so, but that’s a capitalism's story for another time).
So we are reviewing their projects: they have only ONE git repository with a hundred folders and sub-folders containing ALL of their code.
#git #coding #bestpractices




Show Original Post


24.03.2026 11:11
h4ckernews (@h4ckernews@mastodon.social)

Ripgrep is faster than {grep, ag, Git grep, ucg, pt, sift}

burntsushi.net/ripgrep/




Show Original Post


24.03.2026 10:39
notes (@notes@federation.network)

99 files changed, 8257 deletions(-)

#git #satisfaction





Show Original Post


24.03.2026 10:31
km (@km@mastodon.babb.no)

to me both #git and #matrix are primarily data storage formats, with applications built on top of them.

and while git suits very well for building #dvcs, i still feel matrix for chat is just a mess.

i spent time reading specs, i donated money, i ran homeservers twice, but concept of using DAG for chat just feels … wrong!

otoh i once came across a good use case for matrix: using it as a foundation for emergency control room systems, where each location would run own server and eventually sync




Show Original Post


24.03.2026 09:47
arialdo (@arialdo@mastodon.online)

Just found out about #git trailers

git commit --trailer "fix" --trailer "scope=api" -m "Your message"

git log --grep="scope: api" --oneline




Show Original Post


24.03.2026 04:42
pixelnull (@pixelnull@infosec.exchange)

the only way to kill #AI coding is self-harming ourselves by deleting the entire blame and author tracking system in #git.

LET'S DO THIS! #WitnessMe




Show Original Post


1 ...44 45 46 47 48 49 50 51 52 53 54 ...347
UP