Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

When I running following command, its showing me three git branches

me@myhost:~/myrepo$ git branch
* master
  new_branch
  third

However the gitweb is showing only two branches. Only master and new_branch.

enter image description here

Does it require any further configuration to do the third branch visible on gitweb?

share|improve this question
add comment

1 Answer

up vote 0 down vote accepted

It looks like you are using a remote repository which can be explored by gitweb, and a local one.

I suppose the branch on your local repository has not been pushed on the remote one. In this case, try :

me@myhost:~/myrepo$ git push origin third

If your remote repository is called origin (default name), it will publish your branch as a new reference visible in the gitweb repository.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.