Lines Matching +full:rev +full:- +full:parse
1 Using Gerrit without git-cl
5 -----
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"
22 git remote set-url origin 'https://skia.googlesource.com/skia.git'
26 --------------
28 Go to [skia.googlesource.com/new-password](https://skia.googlesource.com/new-password)
33 -----------------
37 git checkout -b TOPIC
41 git checkout -b TOPIC -t origin/master
46 git commit --all --message 'Change Foo'
47 git log -1
49 `git log` should show that a Change-Id line has been added you your commit
68 …[Gerrit Upload Documentation](https://gerrit-review.googlesource.com/Documentation/user-upload.htm…
72 bin/sysopen https://skia-review.googlesource.com/c/skia/+/$(bin/gerrit-number @)
75 -----------------
81 git commit --all --amend
86 2. Re-squash if needed. (Not needed if you only amended your original commit.)
101 ------------------
105 git cl issue $(bin/gerrit-number @)
111 ---------
115 git config alias.gerrit-push 'push origin @:refs/for/master'
119 git config alias.amend-head 'commit --all --amend --reuse-message=@'
123 git config alias.setcl '!git-cl issue $(bin/gerrit-number @)'
129 local MESSAGE="$(git log --format=%B ^@{upstream} @)"
130 git reset --soft $(git merge-base @ @{upstream})
131 git commit -m "$MESSAGE" -e
139 local MESSAGE="$(echo $*|sed 's/[^A-Za-z0-9]/_/g')"
145 …git config alias.squash-branch '!M="$(git log --format=%B ^@{u} @)";git reset --soft $(git merge-b…
147 …git config alias.gerrit-push-message '!f(){ git push origin @:refs/for/master%m=$(echo $*|sed "s/[…
149 If your branch's upstream branch (set with `git branch --set-upstream-to=...`)
153 local UPSTREAM_FULL="$(git rev-parse --symbolic-full-name @{upstream})"
161 local MESSAGE="$(echo $*|sed 's/[^A-Za-z0-9]/_/g')"
168 …-push '!f()(F="$(git rev-parse --symbolic-full-name @{u})";case "$F" in (refs/remotes/*);;(*)echo …