bash - Using git as part of an automated script - pausing the script for a rebase -


i'm using git part of script automating file patch. goes this:

cd "$gitdir" git checkout original monodis "$original_dll" > "$ilfname" git add "$ilfname" git commit -m "$(date +"%s")" git checkout modded git rebase original  # more code here 

as can guess - disassembles .net dll , applies few patches way of git.

but happens if there's merge conflict? there way "pause" script until rebase completed?

you split script in two, first part calling second 1 upon conflict-less rebase. in case of manual intervention needed operator call second part after completing merge.


Comments

Popular posts from this blog

facebook - android ACTION_SEND to share with specific application only -

python - Creating a new virtualenv gives a permissions error -

javascript - cocos2d-js draw circle not instantly -