This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -- Callback function to handle the upload events that are generated. | |
| -- There will be several events: one to indicate the start and end of the | |
| -- process and several to indicate the progress (depends on the file size). | |
| -- Always test for your error conditions! | |
| local function uploadListener( event ) | |
| if ( event.isError ) then | |
| print( "Network Error." ) | |
| -- This is likely a time out or server being down. In other words, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| git branch -m main master | |
| git push -u origin master | |
| git remote set-head origin master | |
| # Now go to github in a browser, | |
| # open the repo, click settings, branch and change the default branch to master | |
| git push origin --delete main |