amazon web services - git pull error when trying to deploy to AWS EC2 -
i trying commit new lines of code repository aws. have synced on github. trying pull repository ec2 instance.
i ssh in ec2, no issues here, when "git pull"
(and enter in github username , password) prompt saying:
"you not on branch. please specify branch want merge with. see git-pull(1) details. git pull <remote> <branch>".
update: tried 'git checkout master'
before 'git pull'
messed ec2, site down these errors - 'pull not possible because have unmerged files. please, fix them in work tree, , use 'git add/rm <file>' appropriate mark resolution, or use 'git commit -a
'
appreciate help!
try git checkout -b <your_branch>
, seems local git isn't working in branch right now.
Comments
Post a Comment