getting set up on git (finally)

Started by Joe Conwayover 15 years ago3 messages
#1Joe Conway
mail@joeconway.com
1 attachment(s)

I'm finally trying to get current with the switch to git, following this
wiki page:

http://wiki.postgresql.org/wiki/Committing_with_Git

Specifically, I am trying to do:
------------
Dependent Clone per Branch, Pushing and Pulling From a Local Repository
-plus-
Clone Locally, Repoint Origin
------------

In order to set this up, I used the attached recipe. Does that look
reasonable and correct?

I am hoping that from this point forward I can treat each of those
checked out branches exactly (more-or-less) as I did under cvs -- true? E.g.

#make some changes
git commit -a
git push

Thanks,

Joe

--
Joe Conway
credativ LLC: http://www.credativ.us
Linux, PostgreSQL, and general Open Source
Training, Service, Consulting, & 24x7 Support

Attachments:

postgresql-git-setup.txttext/plain; name=postgresql-git-setup.txtDownload
#2Robert Haas
robertmhaas@gmail.com
In reply to: Joe Conway (#1)
Re: getting set up on git (finally)

On Fri, Oct 8, 2010 at 4:31 PM, Joe Conway <mail@joeconway.com> wrote:

I'm finally trying to get current with the switch to git, following this
wiki page:

 http://wiki.postgresql.org/wiki/Committing_with_Git

Specifically, I am trying to do:
------------
Dependent Clone per Branch, Pushing and Pulling From a Local Repository
 -plus-
Clone Locally, Repoint Origin
------------

In order to set this up, I used the attached recipe. Does that look
reasonable and correct?

I am hoping that from this point forward I can treat each of those
checked out branches exactly (more-or-less) as I did under cvs -- true? E.g.

 #make some changes
 git commit -a
 git push

Looks fairly sane on a quick once-over.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

#3Joe Conway
mail@joeconway.com
In reply to: Robert Haas (#2)
Re: getting set up on git (finally)

On 10/08/2010 08:12 PM, Robert Haas wrote:

On Fri, Oct 8, 2010 at 4:31 PM, Joe Conway <mail@joeconway.com> wrote:

I'm finally trying to get current with the switch to git, following this
wiki page:

http://wiki.postgresql.org/wiki/Committing_with_Git

Specifically, I am trying to do:
------------
Dependent Clone per Branch, Pushing and Pulling From a Local Repository
-plus-
Clone Locally, Repoint Origin
------------

In order to set this up, I used the attached recipe. Does that look
reasonable and correct?

I am hoping that from this point forward I can treat each of those
checked out branches exactly (more-or-less) as I did under cvs -- true? E.g.

#make some changes
git commit -a
git push

Looks fairly sane on a quick once-over.

Thanks. I was hoping you would say that :-)

Joe

--
Joe Conway
credativ LLC: http://www.credativ.us
Linux, PostgreSQL, and general Open Source
Training, Service, Consulting, & 24x7 Support