AFAIK you can't do that unless you are on git hub or something. GIT perform almost all of his commands on client side where you must clone it first but there are very few commands available to perform on server such as [1].
[1] https://www.kernel.org/pub/software/scm/git/docs/git-ls-remote.html Regards Roshan. On Thu, Jul 24, 2014 at 11:49 AM, Samith Dassanayake <[email protected]> wrote: > Hi, > Can we create a git branch remotely without locally checking out the > branch that we are going to do branching from. For example I have a branch > *foo* in https://somerepo/.git and I want to create a branch *bar* in the > same repo https://somerepo/.git from the branch *foo, *without checking > out the branch *foo* locally. Can we do that? > > Thanks. > > -- > Best Regards > > Samith Dassanayake > Software Engineer, WSO2 Inc. > > > _______________________________________________ > Dev mailing list > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- Roshan Wijesena. Senior Software Engineer-WSO2 Inc. Mobile: *+94752126789* Email: [email protected] *WSO2, Inc. :** wso2.com <http://wso2.com/>* lean.enterprise.middleware.
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
