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

  • SEARCH
  • Home
  • 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 785129
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T20:49:33+00:00 2026-05-14T20:49:33+00:00

Backround: Suppose I have the following Git URLs (hosted on github) http://github.com/mikl/drupal.git git://github.com/mikl/drupal.git (Git

  • 0

Backround:

Suppose I have the following Git URLs (hosted on github)

http://github.com/mikl/drupal.git
git://github.com/mikl/drupal.git  (Git read-only)

I am interested in having a local copy of this repository so I can pratice working with branches in git and see how my local working tree can change depending on which branch I am working with.

Questions:

  1. To get started, I set up a local directory and do git clone git://github.com/mikl/drupal.git … Will this clone all of the branches? Or will it only clone master?
  2. The web front-end for github gives me a “drop down” menu that allows me to switch branches … Does changing this drop-down actually change which branch I will be grabbing when I run git clone?
  3. If I want a new copy of this repository on my local machine, but I am interested in only two branches of this repository and I want to ignore all the rest, what command do I use to ensure I clone only those two branches and nothing else (assume one of the branches is master)?
  • 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-05-14T20:49:33+00:00Added an answer on May 14, 2026 at 8:49 pm
    1. It will clone all of the branches. However, there will be no local branches created for anything but master. You can view the remote branches with git branch -r and create a local tracking branch with git branch localname origin/remotename
    2. No.
    3. A multi-step process, which I suggest you don’t bother with (create repository, set up a remote, do partial fetches of the remote).
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 489k
  • Answers 489k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer There are several problems that occur when using IMEI, IMSI...… May 16, 2026 at 8:50 am
  • Editorial Team
    Editorial Team added an answer If you have strings you need to parse them into… May 16, 2026 at 8:50 am
  • Editorial Team
    Editorial Team added an answer Answer taken from http://webcache.googleusercontent.com/search?q=cache:FKGZJEF3aEoJ:lorf.ru/bol/%D0%9A%D1%83%D1%80%D1%81%D0%B0%D1%87/ERWIN/DOC/Readme.txt+ERWIN+user+defined+datatypes&cd=18&hl=en&ct=clnk&gl=ie To prevent domains from being created… May 16, 2026 at 8:50 am

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Related Questions

Background: Suppose I have the following obviously-incorrect PHP: try{ $vtest = ''; print(array_pop($vtest)); }catch(Exception
Suppose I have the following tables in my database: Now all my queries depend
Suppose I have the following class: public class FixExpr { Expr<FixExpr> in; } Now
I have the following, it works except the gif is suppose to be transparent
I have the following: <ul style=width: 300px; list-style-type:none> <li> <table style=width:100% border=0 cellpadding=0 cellspacing=0
For example, suppose I'm editing following text (\t is for tabs, it's not text)
i have the following css code: .tag { display: inline; font-size: 10px; padding: 5px;
I am trying to build a page with the following in it: Already have
When it comes to CSS the following rule applies: Partial URLs are interpreted relative
Background: This is something I have been looking for since before even JSON was

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.