2013-02-08 24 views

उत्तर

35

आप git stash pop चाहते हैं!

pop [--index] [-q|--quiet] [<stash>] 
     Remove a single stashed state from the stash list and apply it on 
     top of the current working tree state, i.e., do the inverse 
     operation of git stash save. The working directory must match the 
     index. 
+1

ध्यान दें कि यदि "गिट स्टैश पॉप" के परिणामस्वरूप कोई संघर्ष होता है, तो स्टैश नहीं छोड़ा जाता है। एक बार संघर्ष सुलझा लिया गया है (और अधिमानतः प्रतिबद्ध) आपको खुद को छिपाने की आवश्यकता होगी। –

11

git stash pop, आपकी सूची में पहले गुप्त कोष (या एक आपके द्वारा निर्दिष्ट) ले अपने HEAD उसे लागू करने के लिए और गुप्त कोष सूची से हटा देगा।

 संबंधित मुद्दे

  • कोई संबंधित समस्या नहीं^_^