Dariusz on Software

Methods and Tools

About This Site

Software development stuff

Archive

How to push local GIT branch to a remote repository
Thu, 23 Sep 2010 08:56:18 +0000

GIT is a Distributed Version Control System (DVCS) that was "born" for Linux kernel development. It's not the easiest to use for novices, but it fast and allows to create advanced code sharing scenarios.

Sometimes you want to share locally created GIT branch with other developers (code review, collaborative development on branch, etc). You can do it easily by issuing a command:

$ git push origin local_branch_name

If you decide to drop remote branch just issue:

$ git push origin :local_branch_name

Happy GIT-ing!

Tags: git.

Tags

Created by Chronicle v3.5