#git pull doesnt update my local code

6 messages · Page 1 of 1 (latest)

real warren
#

hi guys. in gitlab i have newest code. there is an application.yaml file that has apiKey field. but on my computer the application.yaml file doesnt have this field. when i run git pull i get:

$ git pull
You are not currently on a branch.
Please specify which branch you want to merge with.
See git-pull(1) for details.

    git pull <remote> <branch>

but my application.yaml file remains unchanged. idk what to do. can smb help me out?

radiant ingotBOT
#

This post has been reserved for your question.

Hey @real warren! Please use /close or the Close Post button above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.

TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.

elder reef
#

Literally everything is explained in the message. Switch to some branch.

radiant ingotBOT
#

💤 Post marked as dormant

This post has been inactive for over 300 minutes, thus, it has been archived.
If your question was not answered yet, feel free to re-open this post or create a new one.
In case your post is not getting any attention, you can try to use /help ping.
Warning: abusing this will result in moderative actions taken against you.

orchid quartz
#

If you checked out a local branch but not a remote one, you could try git pull origin HEAD