Top Tweets for #Gitig
YA NEREYE GİTİGİNİZİ VE NE ZAMAN GİTTİGİNİZİ ACİKLAYİN ARTİK

Safe to say that I am now done with my Workout Tracker API😊🎉
Today's progress:
• Created and configured the .gitignore file to exclude build artifacts, IDE files, logs, temporary files and sensitive environment variables
• Created a README.md documenting the project, features, tech stack, architecture, setup instructions and API documentation
• Initialized Git, made the commit and pushed
The project is now version-controlled and publicly accessible on GitHub.

Very close to rounding up this project as today, I
• Integrated Swagger UI and OpenAPI documentation into the Spring Boot project.
• Configured API info, versioning and JWT Bearer auth
• Made Swagger endpoints accessible via Spring Security
• Added documentation to all six controllers, covering their endpoints, descriptions and expected responses.
• Prepared the API for interactive testing and easier integration with frontend applications.

Added xcuserdata to .gitignore but Xcode still shows changes after every session?
.gitignore only covers files git isn't already tracking. ComingUp had two committed before the rule went in.
git rm -r --cached <path>/xcuserdata
Untracks them and keeps your local copies.
3 checks if you code with AI agents:
1. Is .claude/settings.local.json in your .gitignore? It can hold tokens in plain text
2. Key already in git? Rotate it first, then git rm --cached
3. Cloned a repo? Read CLAUDE.md and AGENTS.md before your agent does
What would you add?
@getvalt0 gitignore is a boundary you can check. env vars are not, the file still has the password and the flag still writes it back. the real fix is refusing to persist a command that matched a secret, not remembering to clean up after it.
@getvalt0 Another reason to gitignore that whole folder before the very first commit, and keep keys in env vars only
Apiiro found 1,122 public copies of Claude Code's .claude/settings.local.json that hold a secret.
"Yes, and don't ask again" can save the exact command, secret included. The ignore rule is your machine's global git excludes, not the repo's .gitignore.
https://t.co/83XUN2BwAi
@gokulravi_bk Agreed. Yes, it flags .env for review. But all other files in .gitignore are ignored.
The review flow:
- Snapshot is taken just before an agent first changes a file (gitignored files skipped, except .env).
- Accept makes that change the new baseline. Reject restores the old lines.
- Anything left pending stays pending, and further agent writes fold into it.
- If the agent later rewrites something you accepted or rejected, that's a new pending change. Nothing is accepted without you.
- Your own edits in a file with pending agent changes become pending too. Once everything in it is accepted or rejected, your edits are untracked again, like normal VS Code.
@vmkbuilds Why would you even add it to gitignore 😂
Honestly that's the best undo there is for source files. git checkout beats any dry-run.
What git can't save is everything it doesn't track: gitignored folders, caches, files outside a repo. That's the gap I'm designing around: the agent proposes a plan, you approve it, and removals go to a restorable quarantine.
It's also meant to skip repos with uncommitted work.
@tsvillain gitignoring /docs on the public ones is smart. my own nights project has plans I'd never want sitting in a public repo
@itsvlady everything stays in the project repo under `/docs` folder, only AGENTS.md lives in the root.
If it's a public repo and you don't want your plan to be public, you can add `/docs` folder in gitignore. (that's exactly what i do in my public repos)
it works similar to .gitignore for git.
you have per project config where you can put code structure, architecture, code style.
for global you can add rules that apply for every project.
e.g. in my config I have, rules to always question what I ask for, or that agent should follow TDD style and always write tests.
Bodyroll gitigine uzulmucem bu neydi
Is there a spec / protocol of some sort something like a .gitignore but for AI agents? Like for example I have .env file with contents like this
// ai-ignore
SECRET=xxxxxxx
Any agent should not read the line after the comment.
Your startup's SOC-2 is a joke when every dev has plaintext .env on their Mac.
1Password = Cloud vault
.gitignore = Ignored by AI agents
dotenvx = Text keys on SSD
Name ONE offline Mac app that shields files in-place & runs via RAM.
Can't? Check 1st reply 👇
Basically...
The developer fixed a finality deadlock by allowing leaders to re-certify uncommitted checkpoints across consecutive rounds, rebuilt the explorer indexer as a standalone BFT-quorum service to prevent database crashes, and fixed a .gitignore pattern that was hiding source code files.
What it means for the system:
Unstoppable Consensus Finality: Automatic re-certification guarantees that uncommitted checkpoint anchors can achieve 2-chain commits and resume chain finality without manual operator intervention.
Scalable Explorer Infrastructure: Offloading indexing to a dedicated service using parameterized unnest inserts prevents database OOMs and disk-fill crashes under 13k TPS load.
Efficient Web Streaming: Replacing DB polling with Server-Sent Events (SSE) and removing table counts eliminates database lock contention on web queries.
QNet CI/CD Pipelines #1283 – #1285
This update resolves a consensus finality deadlock caused by uncommitted boundary checkpoints, overhauls the blockchain explorer and indexing architecture, and fixes a .gitignore pattern that was accidentally swallowing source files.
1. Consensus Reseal & Uncommitted Checkpoint Liveness (#1283)
The Problem:
A macroblock window seals only on the 2-chain commit of its boundary checkpoint, and a new window is proposed only when the macroblock two positions behind it is sealed. Under heavy load and failovers, a series of timeouts occurred across consecutive checkpoints (18652–18654). None achieved the required consecutive-round 2-chain commit, leaving boundary 6217 uncommitted. Because window 6219 rejected proposals due to the unsealed anchor, finality stopped completely at height 559,500 while block production continued until the roster-derivation limit halted the chain at 562,320.
Furthermore, the existing fallback "reseal" logic failed because it fetched its committee from a pruned window buffer, resulting in an empty committee that was rejected on every retry.
The Fix:
Protocol-Driven Re-certification: Liveness is now driven directly by consensus protocol rules rather than forced local seals. When the checkpoint builder detects a closed frontier, the view timer rotates leaders, and the elected leader re-proposes its highest held certified checkpoint verbatim (same head and content).
Consecutive-Round Commitment: Receiving a second certification in a consecutive round completes the 2-chain commit. This releases the held seal, commits the anchor, reopens the frontier, and allows finality progression to resume.
Safe Reseal Fallback & Retention: Restored and hardened the emergency reseal fallback for committed boundaries. The committee is now derived by walking parent links down from the commit frontier pair. Inputs for unsealed boundaries are isolated from the pruned buffer, ensuring the view tick seals immediately upon commit.
2. Standalone Explorer Indexer & Web Tier Architecture (#1284)
The Problem:
The in-process explorer indexer generated individual INSERT statements per recipient block-by-block. On large 13-batch blocks, this generated over 91,000 parameters per query—exceeding PostgreSQL's 65,535 wire protocol limit. Failed statements retried endlessly, causing Postgres logs to fill local disks and crash the cluster. Additionally, every web page load executed expensive COUNT(*) queries across the entire transactions table.
The Fix:
Standalone Indexer Service (qnet-indexer): Separated the indexer into an independent process (PM2 managed). It processes data in single PostgreSQL transactions per commit using unnest array parameters to maintain a constant parameter count regardless of batch size.
Quorum-Validated Chain Ingestion & Reorg Protection: The indexer validates block identities and merkle roots against a quorum of RPC endpoints before writing them to the database. Mismatched or manipulative endpoints are automatically quarantined for 30 minutes.
Gap-Catchup & Identity Rows: Sync gaps are detected via dual cursors (head and indexed_prefix) and backfilled asynchronously. Pruned historical bodies are retained as light "identity-only" rows (hash + slot time).
Read-Only Web Tier & Real-Time SSE: Converted the web tier into a read-only role (lib/db.ts). Replaced DB polling and COUNT(*) calls with PostgreSQL NOTIFY explorer_head events mapped to Server-Sent Events (SSE) via /api/stream. Activity feeds now use efficient keyset pagination.
3. Build & Repository Fix (#1285)
The Problem:
The repository's .gitignore pattern for node RocksDB logs was set to **/LOG*. This accidentally matched and ignored actual source code files, specifically src/indexer/log.ts and the mobile logger module. Fresh repository clones failed to build the indexer because required source code was omitted by Git.
The Fix:
Targeted the gitignore rule specifically to database log outputs (LOG and LOG.
old files) and committed the missing source modules (src/indexer/log.ts and mobile logger) back to the repository.
QNet CI/CD Pipelines #1283 – #1285
This update resolves a consensus finality deadlock caused by uncommitted boundary checkpoints, overhauls the blockchain explorer and indexing architecture, and fixes a .gitignore pattern that was accidentally swallowing source files.
1. Consensus Reseal & Uncommitted Checkpoint Liveness (#1283)
The Problem:
A macroblock window seals only on the 2-chain commit of its boundary checkpoint, and a new window is proposed only when the macroblock two positions behind it is sealed. Under heavy load and failovers, a series of timeouts occurred across consecutive checkpoints (18652–18654). None achieved the required consecutive-round 2-chain commit, leaving boundary 6217 uncommitted. Because window 6219 rejected proposals due to the unsealed anchor, finality stopped completely at height 559,500 while block production continued until the roster-derivation limit halted the chain at 562,320.
Furthermore, the existing fallback "reseal" logic failed because it fetched its committee from a pruned window buffer, resulting in an empty committee that was rejected on every retry.
The Fix:
Protocol-Driven Re-certification: Liveness is now driven directly by consensus protocol rules rather than forced local seals. When the checkpoint builder detects a closed frontier, the view timer rotates leaders, and the elected leader re-proposes its highest held certified checkpoint verbatim (same head and content).
Consecutive-Round Commitment: Receiving a second certification in a consecutive round completes the 2-chain commit. This releases the held seal, commits the anchor, reopens the frontier, and allows finality progression to resume.
Safe Reseal Fallback & Retention: Restored and hardened the emergency reseal fallback for committed boundaries. The committee is now derived by walking parent links down from the commit frontier pair. Inputs for unsealed boundaries are isolated from the pruned buffer, ensuring the view tick seals immediately upon commit.
2. Standalone Explorer Indexer & Web Tier Architecture (#1284)
The Problem:
The in-process explorer indexer generated individual INSERT statements per recipient block-by-block. On large 13-batch blocks, this generated over 91,000 parameters per query—exceeding PostgreSQL's 65,535 wire protocol limit. Failed statements retried endlessly, causing Postgres logs to fill local disks and crash the cluster. Additionally, every web page load executed expensive COUNT(*) queries across the entire transactions table.
The Fix:
Standalone Indexer Service (qnet-indexer): Separated the indexer into an independent process (PM2 managed). It processes data in single PostgreSQL transactions per commit using unnest array parameters to maintain a constant parameter count regardless of batch size.
Quorum-Validated Chain Ingestion & Reorg Protection: The indexer validates block identities and merkle roots against a quorum of RPC endpoints before writing them to the database. Mismatched or manipulative endpoints are automatically quarantined for 30 minutes.
Gap-Catchup & Identity Rows: Sync gaps are detected via dual cursors (head and indexed_prefix) and backfilled asynchronously. Pruned historical bodies are retained as light "identity-only" rows (hash + slot time).
Read-Only Web Tier & Real-Time SSE: Converted the web tier into a read-only role (lib/db.ts). Replaced DB polling and COUNT(*) calls with PostgreSQL NOTIFY explorer_head events mapped to Server-Sent Events (SSE) via /api/stream. Activity feeds now use efficient keyset pagination.
3. Build & Repository Fix (#1285)
The Problem:
The repository's .gitignore pattern for node RocksDB logs was set to **/LOG*. This accidentally matched and ignored actual source code files, specifically src/indexer/log.ts and the mobile logger module. Fresh repository clones failed to build the indexer because required source code was omitted by Git.
@alexabelonix haha learning it the hard way 😅 step 1 from now on: proper .gitignore file
Something very strange happen today, just now.
I am working on a project and I created the .gitignore file with the following command:
echo "./Projects/.env" >> .gitignore
I almost committed and pushed my code to GitHub because I was expecting git to ignore my .env file but it didn't.
The command created the .gitignore file as UTF-16 LE encoded instead of UTF-8 and git can't read the rules created in UTF-16 properly.
I spent 30 minutes wondering why all the files I added in .gitignore get tracked and staged by git.
Finally, I deleted the file, created a new .gitignore file by clicking the new file icon rather than using the previous command and git then stopped tracking the files inside the .gitignore file.
umut bi kare gelir misin naz yapcam sana sonra istiyosan git gitigin yerde mutlu ol

@ItsYash_21 the reset on push is almost always the sqlite file getting gitignored or overwritten. point the checkpointer at a persistent path outside the repo. day 7 and already on memory, you're flying. builder discord if you want people to debug with: https://t.co/o8Tf5VBcl5
Most Popular Users

Elon Musk 
@elonmusk
239.7M followers

Barack Obama 
@barackobama
118.6M followers

Cristiano Ronaldo 
@cristiano
114.3M followers

Donald J. Trump 
@realdonaldtrump
111.7M followers

Narendra Modi 
@narendramodi
106.9M followers

Rihanna 
@rihanna
98.6M followers

NASA 
@nasa
92.1M followers

Justin Bieber 
@justinbieber
91.7M followers

KATY PERRY 
@katyperry
89.9M followers

Taylor Swift 
@taylorswift13
83.9M followers

Lady Gaga 
@ladygaga
75.4M followers

Virat Kohli 
@imvkohli
73.3M followers

Kim Kardashian 
@kimkardashian
70.8M followers

YouTube 
@youtube
68.6M followers

Neymar Jr 
@neymarjr
66.3M followers

Bill Gates 
@billgates
65.1M followers

Selena Gomez 
@selenagomez
63M followers

The Ellen Show
@theellenshow
62.1M followers

CNN 
@cnn
61.7M followers

X 
@x
60.6M followers
























