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

Поиск
Список
Период
Сортировка
От jian he
Тема https://wiki.postgresql.org/wiki/Working_with_Git link one link cannot open, another link is unrelated.
Дата
Msg-id CACJufxGrywcwKUQFCrqEAgLAZcsaYaWNisw39DZe=QR+6ufpZQ@mail.gmail.com
обсуждение исходный текст
Ответы Re: https://wiki.postgresql.org/wiki/Working_with_Git link one link cannot open, another link is unrelated.  (Melih Mutlu <m.melihmutlu@gmail.com>)
Список 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.


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.

В списке pgsql-general по дате отправления:

Предыдущее
От: "Peter J. Holzer"
Дата:
Сообщение: Re: best practice to patch a postgresql version?
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: Regd. the Query w.r.t Alternative functionalities from Oracle  PostgreSQL (Oracle to PostgreSQL database migration)