Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8264931
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T04:37:39+00:00 2026-06-08T04:37:39+00:00

I’m not sure why this doesn’t work. When I do git branch -a ,

  • 0

I’m not sure why this doesn’t work. When I do git branch -a, this is what I see:

enter image description here

I’m trying to pull from the DownloadManager on the online GitHub repository. I have tried

  • git pull, but then it complains about not knowing which branch to pull from
  • git pull origin, doesn’t know which branch
  • git pull origin downloadmanager gives fatal: Couldn't find remote ref downloadmanager. Unexpected end of commands stream
  • git pull origin remotes/origin/DownloadManager gives fatal couldn't find remote ref remotes/origin/DownloadManager. Unexpected end of commands stream

Is there something I’m missing? In Xcode, When I try to connect to the repository, nothing ever shows up. I have been able to push to it in the past. But I can’t push again until I pull the most recent changes.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T04:37:40+00:00Added an answer on June 8, 2026 at 4:37 am

    Be careful – you have case mixing between local and remote branch!

    Suppose you are in local branch downloadmanager now (git checkout downloadmanager)

    You have next options:

    1. Specify remote branch in pull/push commands every time (case sensitive):

      git pull origin DownloadManager

      or

      git pull origin downloadmanager:DownloadManager


    1. Specify tracking branch on next push:

      git push -u origin DownloadManager

      (-u is a short form of –set-upstream)

      this will persist downloadmanager:DownloadManager link in config automatically (same result, as the next step).


    1. Set in git config default remote tracking branch:

      git branch -u downloadmanager origin/DownloadManager

      (note, since git 1.8 for branch command -u is a short form of –set-upstream-to, which is a bit different from deprecated –set-upstream)

      or edit config manually (I prefer this way):

      git config --local -e

      -> This will open editor. Add block below (guess, after “master” block):

      [branch "downloadmanager"]
              remote = origin
              merge = refs/heads/DownloadManager
      

    and after any of those steps you can use easily:

    git pull

    If you use TortoiseGit:
    RightClick on repo -> TortoiseGit -> Settings -> Git -> Edit local .git/config

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

For some reason, after submitting a string like this Jack’s Spindle from a text
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
Does anyone know how can I replace this 2 symbol below from the string
I'm trying to decode HTML entries from here NYTimes.com and I cannot figure out
Basically, what I'm trying to create is a page of div tags, each has
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I am trying to understand how to use SyndicationItem to display feed which is
this is what i have right now Drawing an RSS feed into the php,
I have this code to decode numeric html entities to the UTF8 equivalent character.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.