#434 default branch not reflected in git checkout
Closed: Insufficient data None Opened 8 years ago by ralph.

You can set the default branch for a repo, and that is reflected in the web view, but it does not have an affect on fresh git checkouts (either over ssh or over https).

New people cloning the fedora-hubs repo, for instance, are presented with the wrong branch.


This seems to be working for me:

$ git clone  https://pagure.io/fedora-hubs.git 
Cloning into 'fedora-hubs'...
remote: Counting objects: 1328, done.
remote: Compressing objects: 100% (1102/1102), done.
remote: Total 1328 (delta 843), reused 271 (delta 164)
Receiving objects: 100% (1328/1328), 10.90 MiB | 419.00 KiB/s, done.
Resolving deltas: 100% (843/843), done.
Checking connectivity... done.
$ cd fedora-hubs 
$ git branch
* develop

Same here. I could've sworn it didn't work just a few hours ago. Oh well.. thanks!!

Could it have been from a fork?

Let's close this ticket since we couldn't reproduce and re-open it if it happens again :)

Login to comment on this ticket.

Metadata