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 8938789
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T10:42:40+00:00 2026-06-15T10:42:40+00:00

I have a dev who did some work and he submitted a pull request

  • 0

I have a dev who did some work and he submitted a pull request to me. Is there a way I can clone a copy of this branch? I know I can run git pull but I’d rather clone from his results (if this is possible) just to make a quick build in case there is something wrong. If I’m totally thinking about this wrong, let me know.

The branch url is like this:

https://github.com/my-name/project-name/tree/his-branch

But if I do

git clone https://github.com/my-name/project-name/tree/his-branch

I get

Cloning into his-branch...
fatal:
https://github.com/my-name/project-name/tree/his-branch/info/refs not found: did you run git update-server-info on the server?

Why am I getting and how would I just get a copy of what changes he made?

thx in advance

edit #1

I tried this but got this error:

Wed Dec 05$ git clone --branch his-branch https://github.com/my-name/project-name.git
fatal: destination path 'project-name' already exists and is not an empty directory.
Wed Dec 05$
  • 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-15T10:42:41+00:00Added an answer on June 15, 2026 at 10:42 am

    To clone a branch from a repo, you do

    git clone --branch his-branch https://github.com/my-name/project-name.git
    

    The /tree/his-branch part is just the github URL for looking at a particular branch. Instead, you need to point git to the repo and then tell it which branch with --branch or -b.

    Also: you should probably be pulling from his copy of the repo, not yours. Unless you’re both working on the same source repo and he’s just requesting you to merge it into master instead of him, that’s presumably something like https://github.com/his-name/project-name.git….

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

Sidebar

Related Questions

I'm brand new to Android dev and have some n00b questions about AVD. Is
Background: I work for a small microsoft based web dev company who is slowly
I have a master branch that was branched from by another dev, who then
For some time now, a few people who have been using my application has
Alright, some of you might have noticed I've been working on this problem off
For someone who's been down this road, please share your breadcrumbs. I have old
I have dev cert and distibution cert. I am able to build an app
I updated to Mac OS-X 10.7.4, and the client stopped working. I have dev
I have a dev server in our office that is behind the firewall. The
We have a dev server that has managed to become indexed by Google. Page

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.