git stash আপনার uncommitted changes কে অস্থায়ীভাবে সংরক্ষণ করে এবং আপনার working directory কে clean state এ ফেরত নিয়ে যায় — যাতে আপনি context switch করতে পারেন (যেমন অন্য branch এ একটি জরুরি bug ঠিক করা) আধা-সম্পন্ন কাজ commit না করে, এবং পরে changes পুনরুদ্ধার করতে পারেন।
Stash যে সমস্যা সমাধান করে
You're mid-work with uncommitted changes, but need to switch context urgently:
→ switch branches? Git may refuse (uncommitted changes would conflict) or carry
them along messily
→ commit half-done work? No — it's not ready (pollutes history)
→ STASH saves your changes aside, giving you a clean working directory to switch.
