में मौजूद नहीं है, मैं वर्तमान में गिट-हब पर एक परियोजना पर काम कर रहा हूं लेकिन हमारी विकास टीम विचलन का उपयोग कर रही है। मैं Git हब हमारे SVN भंडार के साथ सिंक किया रखने के लिए निम्न कार्य दिया गया है:गिट svn rebase एक फ़ाइल के साथ एक संघर्ष के साथ असफल रहा है जो गिट
git svn rebase
git pull origin master
git push origin master
यह ठीक काम कर रहा है, लेकिन किसी भी तरह मैं कुछ में गड़बड़ है और अब मैं एक फ़ाइल के साथ एक समस्या है जब मैं करता हूँ rebase:
Craig-Nakamotos-MacBook-Pro:cl4 cnakamoto$ git svn rebase
First, rewinding head to replay your work on top of it...
Applying: minor fix to table class
Using index info to reconstruct a base tree...
Falling back to patching base and 3-way merge...
No changes -- Patch already applied.
Applying: adding README file
Applying: adding README file
Using index info to reconstruct a base tree...
Falling back to patching base and 3-way merge...
No changes -- Patch already applied.
Applying: adding README file
Using index info to reconstruct a base tree...
Falling back to patching base and 3-way merge...
No changes -- Patch already applied.
Applying: adding README file
Using index info to reconstruct a base tree...
Falling back to patching base and 3-way merge...
No changes -- Patch already applied.
Applying: adding README file
Using index info to reconstruct a base tree...
Falling back to patching base and 3-way merge...
No changes -- Patch already applied.
Applying: adding README file
Using index info to reconstruct a base tree...
Falling back to patching base and 3-way merge...
No changes -- Patch already applied.
Applying: adding README file
Using index info to reconstruct a base tree...
Falling back to patching base and 3-way merge...
No changes -- Patch already applied.
Applying: adding README file
Using index info to reconstruct a base tree...
Falling back to patching base and 3-way merge...
No changes -- Patch already applied.
Applying: adding README file
Using index info to reconstruct a base tree...
Falling back to patching base and 3-way merge...
No changes -- Patch already applied.
Applying: adding README file
Using index info to reconstruct a base tree...
Falling back to patching base and 3-way merge...
No changes -- Patch already applied.
Applying: adding README file
Using index info to reconstruct a base tree...
Falling back to patching base and 3-way merge...
No changes -- Patch already applied.
Applying: adding README file
Using index info to reconstruct a base tree...
Falling back to patching base and 3-way merge...
No changes -- Patch already applied.
Applying: adding README file
Using index info to reconstruct a base tree...
Falling back to patching base and 3-way merge...
No changes -- Patch already applied.
Applying: adding README file
Using index info to reconstruct a base tree...
Falling back to patching base and 3-way merge...
No changes -- Patch already applied.
Applying: adding README file
Using index info to reconstruct a base tree...
Falling back to patching base and 3-way merge...
No changes -- Patch already applied.
Applying: adding README file
Using index info to reconstruct a base tree...
Falling back to patching base and 3-way merge...
No changes -- Patch already applied.
Applying: remove README, will re-add via svn
Applying: trying to fix readme
Applying: adding README file
Using index info to reconstruct a base tree...
Falling back to patching base and 3-way merge...
Auto-merging README
CONFLICT (add/add): Merge conflict in README
Failed to merge in the changes.
Patch failed at 0020 adding README file
When you have resolved this problem run "git rebase --continue".
If you would prefer to skip this patch, instead run "git rebase --skip".
To restore the original branch and stop rebasing run "git rebase --abort".
rebase refs/remotes/trunk: command returned error: 1
मैंने फ़ाइल को गिट और/या svn में हटा दिया और फिर से जोड़ा होगा और अब मुझे यह समस्या है। अजीब बात यह है कि रीडमे फ़ाइल मेरे वर्तमान गिट मास्टर में दिखाई नहीं देती है। मैंने इसे अपने एसवीएन ट्रंक से हटाने की कोशिश की लेकिन इससे कोई फर्क नहीं पड़ता। मैंने संघर्ष का समाधान किया है और फाइल को फिर से जोड़ा है, इसका कोई फायदा नहीं हुआ है। मैंने अपने स्थानीय गिट को भी हटा दिया और शुरू कर दिया। कुछ भ्रष्ट होना चाहिए।
मैं भी कोशिश की Git --skip rebase, लेकिन वह मुझे देता है:
Craig-Nakamotos-MacBook-Pro:cl4 cnakamoto$ git rebase --skip
HEAD is now at c4da146 trying to fix readme
Applying: remove README, will re-add via svn
Using index info to reconstruct a base tree...
Falling back to patching base and 3-way merge...
CONFLICT (delete/modify): README deleted in remove README, will re-add via svn and modified in HEAD. Version HEAD of README left in tree.
Failed to merge in the changes.
Patch failed at 0021 remove README, will re-add via svn
When you have resolved this problem run "git rebase --continue".
If you would prefer to skip this patch, instead run "git rebase --skip".
To restore the original branch and stop rebasing run "git rebase --abort".
Craig-Nakamotos-MacBook-Pro:cl4 cnakamoto$
क्या किसी को पता है कि मैं इसे ठीक कर सकते हैं? यह मुझे पागल कर रहा है। मुझे रीडमे फ़ाइल की बिल्कुल आवश्यकता नहीं है, इसलिए मुझे परवाह नहीं है कि मुझे इसे उड़ाना है और इसे फिर से बनाना है। धन्यवाद!
मैंने गिट रीबेज --स्किप का प्रयास किया लेकिन इससे मुझे और त्रुटियां मिलीं, मैं उन्हें अपने मूल प्रश्न में जोड़ दूंगा। –
पी। मदद करने और स्पष्टीकरण देने की कोशिश करने के लिए धन्यवाद, हम मूल रूप से गिट के माध्यम से परिवर्तन नहीं कर रहे हैं, मैं बस हमारे सबवर्सन रेपो से गिट मास्टर को अपडेट कर रहा हूं, सभी बदलाव विशेष रूप से svn में किए गए हैं, इसलिए मैंने आशा की थी कि यह नहीं होना चाहिए बहुत परेशानी है –