mvilrokx
mvilrokx

Reputation: 1658

How do I add a branch to my repository that is in gitosis

I have successfully setup gitosis on my machine and I have my project safely on the gitosis server. It currently has no branches (just master). How do I add a branch to it? (I am not talking about the config of it, I can figure that out, but literally adding a branch)

Do I add a branch in my local repo and push? Do I do something in gitosis?

Cheers.

Upvotes: 2

Views: 193

Answers (1)

nunopolonia
nunopolonia

Reputation: 14417

You create a local branch with:

git branch branch_name

and then you tell the remote you have a new branch with:

git push origin branch_name

Upvotes: 5

Related Questions