1
resposta

Problemas no git pull

Olá!

Estou tendo problemas no git pull logo após o git push -u origin design.

Não consegui identificar o erro.

C:\Users\tamir\Google Drive\AULAS\curso-git (design -> origin)
λ git push -u origin design
Everything up-to-date
Branch 'design' set up to track remote branch 'design' from 'origin'.

C:\Users\tamir\Google Drive\AULAS\curso-git (design -> origin)
λ git pull
error: cannot lock ref 'refs/remotes/origin/master': unable to resolve reference 'refs/remotes/origin/master': reference broken
From https://github.com/tamiresguesdri/curso-git
 ! [new branch]      master     -> origin/master  (unable to update local ref)

C:\Users\tamir\Google Drive\AULAS\curso-git (design -> origin)
λ git checkout design
Already on 'design'
Your branch is up to date with 'origin/design'.

C:\Users\tamir\Google Drive\AULAS\curso-git (design -> origin)
λ git branch -r
warning: ignoring broken ref refs/remotes/origin/master
  origin/design

C:\Users\tamir\Google Drive\AULAS\curso-git (design -> origin)
λ git pull
error: cannot lock ref 'refs/remotes/origin/master': unable to resolve reference 'refs/remotes/origin/master': reference broken
From https://github.com/tamiresguesdri/curso-git
 ! [new branch]      master     -> origin/master  (unable to update local ref)
1 resposta

Oi Tamires

Acho que está faltando especificar a branch que você quer fazer o pull :

git pull origin design

Pode tentar isso ?

Abraço