Skip to content

Documented optional parameters for git-asf & git-gerrit scripts #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion git-asf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

usage()
{
echo "Usage: git asf commit <SHA>"
echo "Usage: git asf commit [-b <target branch>] <SHA> "
exit
}

Expand Down
3 changes: 2 additions & 1 deletion git-gerrit
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ DATADIR=.git/gerrit-submit
usage()
{
echo "Usage: git gerrit init [-u <gerrit URL>] [-p <project name>]"
echo " git gerrit update [-b <target branch>]"
echo " git gerrit update [-b <target branch>] [-m]"
echo " git gerrit submit [-b <target branch>] [-d]"
echo " git gerrit new"
exit
Expand Down Expand Up @@ -94,6 +94,7 @@ gerrit_update()
;;
m)
mergeop=merge
echo Using merge update policy
;;
r)
mergeop=rebase
Expand Down