আমি একটি রিমোট গিট শাখা মুছে ফেলার চেষ্টা করছি
git push origin :my_remote_branch
এবং পেয়ে:
error: unable to push to unqualified destination: my_remote_branch
The destination refspec neither matches an existing ref on the remote nor
begins with refs/, and we are unable to guess a prefix based on the source ref.
error: failed to push some refs to 'git@example.com:/myrepo'
এগুলি আমার বর্তমান শাখা
git branch -a
* develop
master
remotes/origin/HEAD -> origin/master
remotes/origin/develop
remotes/origin/my_remote_branch
git branch -r --merged
origin/HEAD -> origin/master
origin/develop
origin/master
আমি কীভাবে এই শাখা থেকে মুক্তি পেতে পারি সে সম্পর্কে কোনও ধারণা প্রশংসিত হবে be
git fetchকিন্তু তাতে কোন লাভ হয়নি। ম্যানুয়ালি ফাইল মোছার চেষ্টা করার আগে আরও সোজা ফরোয়ার্ড সমাধান অনুসন্ধান করার চেষ্টা করবে।
git fetch -pবাসি ট্র্যাকিং শাখা থেকে পরিত্রাণ পেতে আপনাকে অবশ্যই করতে হবে ।
git fetchএটি দেখার চেষ্টা করেছিলেন যে এটি যে অ-বিদ্যমান রিমোট নামটি স্থির করে? আপনি কি নিজের মধ্যে.git\refs\remotes\originগিয়েmy_remote_branchফাইলটি মুছে ফেলার চেষ্টা করেছেন , এটি যথেষ্ট কিনা তা দেখার জন্য?