xuchuanyin / workbench

0 stars 0 forks source link

2018-11-15 committer scripts #78

Open xuchuanyin opened 5 years ago

xuchuanyin commented 5 years ago
 git fetch github pull/2908/head:pr2908

git fetch --all

git checkout -b pr2908 github/pr/2908
git rebase -i asf/master

git commit --amend

"""
PR title

PR description

This closes #2908
"""

git push asf pr2908:master
xuchuanyin commented 5 years ago
xcy@uxcy:~/ws/asf/carbondata$ git remote -v
asf https://gitbox.apache.org/repos/asf/carbondata (fetch)
asf https://gitbox.apache.org/repos/asf/carbondata (push)
github  https://github.com/apache/carbondata (fetch)
github  https://github.com/apache/carbondata (push)
xuchuanyin commented 5 years ago
add two empty lines.

Tip: If you're using a text editor on the command line to type your commit message, ensure there are two lines between the end of your commit description and the Co-authored-by: commit trailer.

$ git commit -m "Refactor usability tests.
>
>
Co-authored-by: name <name@example.com>
Co-authored-by: another-name <another-name@example.com>"