🎉 سال نو، مهارت نو، مشاوره رایگان نقشه راه برنامه نویسی (آفر ویژه ثبت نام قبل از افزایش قیمت 🔥)
۰ ثانیه
۰ دقیقه
۰ ساعت
۵ mahdi barati
Push with other Branches
جامعه وردپرس (برنامه نویسی) ایجاد شده در ۰۳ آذر ۱۴۰۰
<p>سلام وقتی با branch مستر پوش میکنم به درستی انجام میشه اما وقتی با branch‌های دیگه پوش میکنم پوش نمیشه ممنون میشم کمک کنید</p>

سلام خدمت شما. چه خطایی نشون میده؟

کیوان علی محمدی ۰۳ آذر ۱۴۰۰، ۱۲:۵۹
<pre class="ql-syntax" spellcheck="false">info: detecting host provider <span class="hljs-keyword">for</span> <span class="hljs-string">'https://gitlab.com/'</span>... warning: auto-detection of host provider took too long (><span class="hljs-number">2000</span>ms) warning: see https:<span class="hljs-comment">//aka.ms/gcmcore-autodetect for more information.</span> info: detecting host provider <span class="hljs-keyword">for</span> <span class="hljs-string">'https://gitlab.com/'</span>... To https:<span class="hljs-comment">//gitlab.com/mahdibarati/testproject.git</span>  ! [rejected]        feture -> feture (non-fast-forward) <span class="hljs-built_in">error</span>: failed to push some refs to <span class="hljs-string">'https://gitlab.com/mahdibarati/testproject.git'</span> hint: Updates were rejected because the tip of your current branch is behind hint: its remote counterpart. Integrate the remote changes (e.g. hint: <span class="hljs-string">'git pull ...'</span>) before pushing again. hint: See the <span class="hljs-string">'Note about fast-forwards'</span> in <span class="hljs-string">'git push --help'</span> <span class="hljs-keyword">for</span> details. </pre>
mahdi barati ۰۳ آذر ۱۴۰۰، ۱۳:۰۵

اول دستور pull رو اجرا کنید و بعدش push کنید.

بهترین پاسخ
کیوان علی محمدی ۰۳ آذر ۱۴۰۰، ۱۳:۳۸
<p>درست نشد متاسفانه pull رو هم زدم اما همون خطای قبلیو میده</p><p><br></p>
mahdi barati ۰۳ آذر ۱۴۰۰، ۱۵:۵۳
<p>دوباره تست کردم درست شد ، ممنون ازتون?❤️</p>
mahdi barati ۰۴ آذر ۱۴۰۰، ۰۹:۲۶