Re: fast forward a branch from another

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

 



Phil Hord <hordp@xxxxxxxxx> writes:

> I don't see this feature listed in the git push [REMOTES] section.  Is
> it documented somewhere else?

Both "git help push" and "git help pull" will tell you in the "Git URLs"
section that a local file path is a way to name a repository.  Therefore,
you can say "git ls-remote $(pwd)" to list the the refs from the current
repository. If you are in git.git directory, "git ls-remote ../git.git"
does the same thing, so does "git ls-remote .".

These are merely specializations of more general "git push $path $refspec"
and nothing noteworthy.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]