this post was submitted on 10 Dec 2023
1362 points (98.2% liked)

linuxmemes

19717 readers
329 users here now

I use Arch btw


Sister communities:

Community rules

  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

Please report posts and comments that break these rules!

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 29 points 6 months ago (7 children)

Intellij: Has a modern GUI for Git with code cleanup, import optimization and visualization of changes.

Me: Open terminal, 'git commit -m "wrote code" && git push'. Then realize I forgot to add half of the files, so I make another commit. Then realize I forgot to cleanup bad indents, so I make another commit. Then realize my code doesn't even build, so I make another commit, etc.

[–] [email protected] 7 points 6 months ago (2 children)
[–] [email protected] 7 points 6 months ago (1 children)
[–] foobaz 7 points 6 months ago

git commit --amend --no-edit

load more comments (4 replies)