- Timestamp:
-
10/14/18 00:45:10 (6 years ago)
- Author:
-
Chris Johns
- Comment:
-
Add a git-push
script to work around the Trac multiple commit push in ticket #3238
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v25
|
v26
|
|
197 | 197 | git branch -d rtems4.10 |
198 | 198 | }}} |
| 199 | |
| 200 | = Pushing Multiple Commits = |
| 201 | |
| 202 | A push with more than one commit results in Trac missing them. Please use the following script to push a single commit at a time: |
| 203 | |
| 204 | {{{ |
| 205 | #! /bin/sh |
| 206 | commits=$(git log --format='%h' origin/master..HEAD | tail -r) |
| 207 | for c in $commits |
| 208 | do |
| 209 | cmd=$(echo $c | sed 's%\(.*\)%git push origin \1:master%') |
| 210 | echo $cmd |
| 211 | $cmd |
| 212 | done |
| 213 | }}} |
| 214 | |
199 | 215 | = Ooops! = |
200 | 216 | |