Changes between Version 2 and Version 3 of GitCleanLocalHistory


Ignore:
Timestamp:
Jun 19, 2013, 11:38:11 AM (11 years ago)
Author:
Piero Campalani
Comment:

fix in bash command

Legend:

Unmodified
Added
Removed
Modified
  • GitCleanLocalHistory

    v2 v3  
    3333* feature_X_local
    3434$ # create a temporary branch which HEADs to the last /patched/ commit (`C`)
    35 $ git checkout -b _tmp PetascopeSecore
     35$ git checkout -b _tmp feature_X_local
    3636$ git reset --hard C   # see "C" node in the graph above
    3737$ # move commits /from/ the common ancestor (ie C) between tmp_branch and feature_X_local (ie {D,E}) on top of feature_X