Notice: We have migrated to GitLab launching 2024-05-01 see here: https://gitlab.rtems.org/

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


Ignore:
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
  • 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