Home | History | Annotate | Download | only in documentation

Lines Matching full:commit

9 This command sets up a Git commit-message hook to add a unique Change-Id to
10 each commit. Gerrit only accepts changes with a Change-Id and uses it to
13 curl -Lo "$(git rev-parse --git-dir)/hooks/commit-msg"
14 'https://gerrit-review.googlesource.com/tools/hooks/commit-msg'
15 chmod +x "$(git rev-parse --git-dir)/hooks/commit-msg"
43 2. Make a commit.
46 git commit --all --message 'Change Foo'
49 `git log` should show that a Change-Id line has been added you your commit
78 git commit --all --amend
80 Changes to the commit message will be sent with the push as well.
83 2. Re-squash if needed. (Not needed if you only amended your original commit.)
114 The following alias amends the head without editing the commit message:
116 git config alias.amend-head 'commit --all --amend --reuse-message=@'
128 git commit -m "$MESSAGE" -e
142 git config alias.squash-branch '!M="$(git log --format=%B ^@{u} @)";git reset --soft $(git merge-base @ @{u});git commit -m "$M" -e'