Git Dry Run?

Re: Git Dry Run?

by Ken Task -
Number of replies: 0
Picture of Particularly helpful Moodlers

Follow up ... hickup!???

The first git pull rendered this:

Updating b87a580aa3..6a643e96d6
error: Your local changes to the following files would be overwritten by merge:

Then listed a bunch of files ending below:

    availability/condition/completion/lang/en/availability_completion.php
    availability/condition/completion/yui/build/moodle-availability_completion-form/moodle-availability_completion-form-debug.js
    availability/condition/completion/yui/build/moodle-availability_completion-form/moodle-availabilit
Aborting

Just a test directory ... no changes were made to any file ... just added a bash shell script for creating the text log file and that wasn't made executable ... source 'scriptname'.

Issuing a 'git reset --hard'

put it back on 'track' ... yes, pun intended! ;)

and then another git pull everything OK then

'spirit of sharing', Ken