Re: git branch rename ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 9/23/07, Ramagudi Naziir <naziirr@xxxxxxxxx> wrote:
> hello people,
>
> do you know if there's a simple way to rename a branch in git ?
> or is the only way to do so would be to create a new branch and pull/push
> the old branch into it ?

If you run git-branch --help, this will tell you command-line flags
and parameters.

In particular, you can use 'git-branch -m [<oldbranch>] <newbranch>'
to move oldbranch (or the current branch if you don't specify
oldbranch) to newbranch.

Cheers.


Vegard

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux