Changes between Version 25 and Version 26 of Developer/Git/Committers


Ignore:
Timestamp:
Oct 14, 2018, 12:45:10 AM (6 months 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
  • Developer/Git/Committers

    v25 v26  
    197197git branch -d rtems4.10
    198198}}}
     199
     200= Pushing Multiple Commits =
     201
     202A 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
     206commits=$(git log --format='%h' origin/master..HEAD | tail -r)
     207for c in $commits
     208do
     209 cmd=$(echo $c | sed 's%\(.*\)%git push origin \1:master%')
     210 echo $cmd
     211 $cmd
     212done
     213}}}
     214
    199215=  Ooops!  =
    200216