uuid: - value: d33493db-20b9-4946-94a1-bc2abfb6b998 langcode: - value: en type: - target_id: daily_email target_type: node_type target_uuid: 8bde1f2f-eef9-4f2d-ae9c-96921f8193d7 revision_timestamp: - value: '2025-05-11T09:00:05+00:00' revision_uid: - target_type: user target_uuid: b8966985-d4b2-42a7-a319-2e94ccfbb849 revision_log: { } status: - value: true uid: - target_type: user target_uuid: b8966985-d4b2-42a7-a319-2e94ccfbb849 title: - value: 'git stash is underrated' created: - value: '2024-10-24T00:00:00+00:00' changed: - value: '2025-05-11T09:00:05+00:00' promote: - value: false sticky: - value: false default_langcode: - value: true revision_translation_affected: - value: true path: - alias: /daily/2024/10/24/git-stash-is-underrated langcode: en body: - value: |

git stash is one of the commands I use the most.

Maybe because I do trunk-based development so I very rarely create new branches, or because I intentionally make and push small atomic commits, I often find myself using git stash whilst debugging something or if I need to switch contexts quickly whilst in the middle of another task and I don't want to lose my changes.

If it's not something I'm going to unstash and bring back almost immediately, I can create a new branch or create a named stash with git stash save <name>.

If I don't need to stash everything, it supports the -p or --patch option and I can decide what to stash and what to keep.

If you haven't used git stash, I recommend giving it a try.

format: full_html processed: |

git stash is one of the commands I use the most.

Maybe because I do trunk-based development so I very rarely create new branches, or because I intentionally make and push small atomic commits, I often find myself using git stash whilst debugging something or if I need to switch contexts quickly whilst in the middle of another task and I don't want to lose my changes.

If it's not something I'm going to unstash and bring back almost immediately, I can create a new branch or create a named stash with git stash save <name>.

If I don't need to stash everything, it supports the -p or --patch option and I can decide what to stash and what to keep.

If you haven't used git stash, I recommend giving it a try.

summary: null field_daily_email_cta: { }