this post was submitted on 29 Apr 2026
11 points (92.3% liked)

Learn Programming

2172 readers
1 users here now

Posting Etiquette

  1. Ask the main part of your question in the title. This should be concise but informative.

  2. Provide everything up front. Don't make people fish for more details in the comments. Provide background information and examples.

  3. Be present for follow up questions. Don't ask for help and run away. Stick around to answer questions and provide more details.

  4. Ask about the problem you're trying to solve. Don't focus too much on debugging your exact solution, as you may be going down the wrong path. Include as much information as you can about what you ultimately are trying to achieve. See more on this here: https://xyproblem.info/

Icon base by Delapouite under CC BY 3.0 with modifications to add a gradient

founded 2 years ago
MODERATORS
 

I often forget to push a few things depending on how Git decides to label my work. Today it labeled a move as a file deletion and add, and only the deletion is present on the upstream, and now the upstream doesn't even compile properly. And I don't want to pull out my hair to resolve yet another conflict, because the only help with Git I can get is jUsT reAD ThE WhoLE maNUaL.

One other thing is that I refuse to use VSCode, especially since they're pushing AI slop code generation so much, and I use KATE instead.

you are viewing a single comment's thread
view the rest of the comments
[โ€“] Valmond@lemmy.dbzer0.com 2 points 1 week ago (1 children)

You can git add even if the file is 'listed' in the .gitignore though? Maybe use -f IIRC

[โ€“] CameronDev@programming.dev 3 points 1 week ago* (last edited 1 week ago)

Doesnt seem so:

But -f works: