Hi,

you can push the branch to remote repository as follows -

git push origin <branchname>

This will create a new remote branch at origin. (in case your remote is
named something other than origin, replace `origin` with that name)

More details here -
http://git-scm.com/book/en/Git-Branching-Remote-Branches#Pushing

On Tue, Jun 12, 2012 at 7:19 PM, Sandy <sandhya.muddul...@gmail.com> wrote:

> Hi,
>
> I want to know if there is a chance to share branch. For instance, I have
> created a branch and implemented a functionality. Now I want to share my
> branch to my collegue to check the code before I merge into main repository.
> How to do this with git?
>
> Br
> Sandy
>
> --
> You received this message because you are subscribed to the Google Groups
> "Git for human beings" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/git-users/-/ZXO-83EV2hoJ.
> To post to this group, send email to git-users@googlegroups.com.
> To unsubscribe from this group, send email to
> git-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/git-users?hl=en.
>



-- 
Vineet Naik

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To post to this group, send email to git-users@googlegroups.com.
To unsubscribe from this group, send email to 
git-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/git-users?hl=en.

Reply via email to