Uno degli sviluppatori nel mio team sta avendo i seguenti problemi. Hanno la possibilità di estrarre un ramo remoto che dice che è tutto aggiornato, ma non possono spingere a quel ramo remoto. Quello che segue è quello che stanno ottenendo nel comando git di Windows prompt deiGit push non funziona ma git pull è sul ramo remoto
[email protected] ~/documents/workspace/my-repository (workflowNewCOBRequest1)
$ git remote show origin workflowNewCOBRequest1
Enter passphrase for key '/c/Users/MY/.ssh/id_rsa':
* remote origin
Fetch URL: [email protected]:myorg/my-repository.git
Push URL: [email protected]:myorg/my-repository.git
HEAD branch: master
Remote branches:
2_Initial_COB_Submission tracked
COB_VF_email_template new (next fetch will store in remotes/origin)
Team-approval tracked
develop tracked
master tracked
testing tracked
workflowNewCOBRequest1 tracked
Local branches configured for 'git pull':
develop merges with remote develop
master merges with remote master
workflowNewCOBRequest1 merges with remote workflowNewCOBRequest1
Local refs configured for 'git push':
Team-approval pushes to Team-approval (up to date)
develop pushes to develop (local out of date)
master pushes to master (up to date)
[email protected] ~/documents/workspace/my-repository (workflowNewCOBRequest1)
$ git push origin workflowNewCOBRequest1
Enter passphrase for key '/c/Users/MY/.ssh/id_rsa':
fatal: workflowNewCOBRequest1 cannot be resolved to branch.
fatal: The remote end hung up unexpectedly
ho cercato su internet e non riesco a trovare qualcosa di simile questo. Qualche idea?
Grazie
Paul
Modificato .. il problema non è REF per spingere quel ramo (cercando di trovare una soluzione per voi ora!) –
Comando per voi di provare :) –
Quel comando ha fatto qualcosa dicendo che era tutto aggiornato ma ho trovato ha comunque ridicolizzato il suo repo in tutti i modi (non seguendo le istruzioni ;-)) Grazie per l'aiuto! – pbattisson