Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] scm next steps

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Eric Sandall <eric AT sandall.us>
  • To: sm-discuss AT lists.ibiblio.org
  • Subject: Re: [SM-Discuss] scm next steps
  • Date: Thu, 04 May 2006 13:46:17 -0700

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Arwed von Merkatz wrote:
> On Thu, May 04, 2006 at 01:33:17PM -0700, Eric Sandall wrote:
<snip>
>> Is there a way we can avoid having to use a URL when pushing to the
>> server we checked out from and with the branch we're currently in
>> without setting an alias?
>
> There is, but it needs a little setup:
> - edit .git/remotes/origin in your repository, add these lines:
> Push: refs/heads/devel:refs/heads/devel
> Push: refs/heads/master:refs/heads/origin
> Push: refs/heads/stable-0.3:refs/heads/stable-0.3
> Push: refs/heads/stable-rc-0.4:refs/heads/stable-rc-0.4
>
> Now you can push using the branch names, i.e.
> $ git push origin master (pushes your master branch to remote origin ,i.e.
> the remote test grimoire)
> $ git push devel devel
> ...

Since those are already in .git/remotes/origin I can just use the names
then. Looks like git sets these up for us. ;)

- -sandalle

- --
Eric Sandall | Source Mage GNU/Linux Developer
eric AT sandall.us | http://www.sourcemage.org/
http://eric.sandall.us/ | SysAdmin @ Shock Physics @ WSU
http://counter.li.org/ #196285 | http://www.shock.wsu.edu/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEWmgZHXt9dKjv3WERAqeIAKDJADS40lCTw34trGpHheoVktDcnwCgiPRn
NzFFvfF5RJNlhQs7U/Dh0Bw=
=VVHP
-----END PGP SIGNATURE-----




Archive powered by MHonArc 2.6.24.

Top of Page