https://wiki.postgresql.org/wiki/Working_with_Git link one link cannot open, another link is unrelated.

From: jian he <jian(dot)universality(at)gmail(dot)com>
To: pgsql-general list <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: https://wiki.postgresql.org/wiki/Working_with_Git link one link cannot open, another link is unrelated.
Date: 2022-12-28 10:01:37
Message-ID: CACJufxGrywcwKUQFCrqEAgLAZcsaYaWNisw39DZe=QR+6ufpZQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi. It's more like a git question less like a postgres question..
I executed the following commands

rm /home/jian/Downloads/001_psql_parse_only_test.patch
git checkout master
git branch --delete --force feature_to_review
git checkout -b feature_to_review
patch -p1 --batch < /home/jian/Downloads/001_psql_parse_only.v1.patch
git commit -a -m "test"
git diff --patience master feature_to_review >
/home/jian/Downloads/001_psql_parse_only_test.patch
git diff --color-words --no-index
/home/jian/Downloads/001_psql_parse_only.v1.patch
/home/jian/Downloads/001_psql_parse_only_test.patch

the last command should return nothing? The idea is to create a local
branch, patch the downloaded patch file, and commit the patch file.
Then try to use git diff to validate local branch = master + patch file by
comparing the download patch file with the output of (git diff branchA
branchB).
Generally what's the correct commands (workflow to patch the patch file)
and how can i validate the local branch only has the patched file changes
and no others.

also in this link: https://wiki.postgresql.org/wiki/Working_with_Git

> See the documentation and tutorials at http://git.or.cz/ for a more
> detailed Git introduction. For a more detailed lesson, check out
> http://progit.org and maybe get a hardcopy to help support the site.
>
the first link not working, the second link, is not that related to git.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2022-12-28 17:45:58 Re: Regd. the Query w.r.t Alternative functionalities from Oracle  PostgreSQL (Oracle to PostgreSQL database migration)
Previous Message Zheng Li 2022-12-27 22:32:59 Re: Support logical replication of DDLs