Creating a local branch, how to push to repository?

I created a local branch that contains my 'current-release' branch, how can I push this to the repository?

Answers


git push origin remote-repository-name

assuming that you are on the current-release branch and the remote repository stuff is properly configured on your system already.


Need Your Help

How to Clone a private repository of github organization in a Jenkins Job

git github jenkins pull-request

I am the owner of github organization and I have access to all repositories. Some of them are private and others are public. I am trying to set up Jenkins to trigger builds when a pull request is m...

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.