|
| 1 | +{ |
| 2 | + "cells": [ |
| 3 | + { |
| 4 | + "cell_type": "markdown", |
| 5 | + "metadata": {}, |
| 6 | + "source": [ |
| 7 | + "If everything is ok, push the changes up to the remote" |
| 8 | + ] |
| 9 | + }, |
| 10 | + { |
| 11 | + "cell_type": "code", |
| 12 | + "execution_count": 1, |
| 13 | + "metadata": {}, |
| 14 | + "outputs": [ |
| 15 | + { |
| 16 | + "data": { |
| 17 | + "text/html": [ |
| 18 | + "<script type=\"text/javascript\">#!javascript\r\n", |
| 19 | + "if ((typeof(requirejs) !== typeof(Function)) || (typeof(requirejs.config) !== typeof(Function))) { \r\n", |
| 20 | + " let script = document.createElement(\"script\"); \r\n", |
| 21 | + " script.setAttribute(\"src\", \"https://cdnjs.cloudflare.com/ajax/libs/require.js/2.3.6/require.min.js\"); \r\n", |
| 22 | + " script.onload = function(){\r\n", |
| 23 | + " loadDotnetInteractiveApi();\r\n", |
| 24 | + " };\r\n", |
| 25 | + " document.getElementsByTagName(\"head\")[0].appendChild(script); \r\n", |
| 26 | + "}\r\n", |
| 27 | + "else {\r\n", |
| 28 | + " loadDotnetInteractiveApi();\r\n", |
| 29 | + "}\r\n", |
| 30 | + "\r\n", |
| 31 | + "function loadDotnetInteractiveApi(){\r\n", |
| 32 | + " let apiRequire = requirejs.config({context:\"dotnet-interactive.21896.56398\",paths:{dotnetInteractive:\"http://localhost:56398/resources/dotnet-interactive\"}});\r\n", |
| 33 | + " apiRequire(['dotnetInteractive'], \r\n", |
| 34 | + " function(api) { \r\n", |
| 35 | + " api.createDotnetInteractiveClient(\"http://localhost:56398/\", window);\r\n", |
| 36 | + " },\r\n", |
| 37 | + " function(error){\r\n", |
| 38 | + " console.log(error);\r\n", |
| 39 | + " });\r\n", |
| 40 | + "}</script>" |
| 41 | + ] |
| 42 | + }, |
| 43 | + "metadata": {}, |
| 44 | + "output_type": "display_data" |
| 45 | + }, |
| 46 | + { |
| 47 | + "name": "stdout", |
| 48 | + "output_type": "stream", |
| 49 | + "text": [ |
| 50 | + "On branch tboggiano-clrsafe\n", |
| 51 | + "Your branch is up to date with 'origin/tboggiano-clrsafe'.\n", |
| 52 | + "\n", |
| 53 | + "Changes not staged for commit:\n", |
| 54 | + " (use \"git add <file>...\" to update what will be committed)\n", |
| 55 | + " (use \"git restore <file>...\" to discard changes in working directory)\n", |
| 56 | + "\tmodified: PSScriptAnalyzerSettings.psd1\n", |
| 57 | + "\tmodified: checks/HADR.Tests.ps1\n", |
| 58 | + "\n", |
| 59 | + "no changes added to commit (use \"git add\" and/or \"git commit -a\")\n" |
| 60 | + ] |
| 61 | + } |
| 62 | + ], |
| 63 | + "source": [ |
| 64 | + "cd D:\\OneDrive\\Documents\\GitHub\\dbachecks\n", |
| 65 | + "git status" |
| 66 | + ] |
| 67 | + }, |
| 68 | + { |
| 69 | + "cell_type": "code", |
| 70 | + "execution_count": 2, |
| 71 | + "metadata": {}, |
| 72 | + "outputs": [], |
| 73 | + "source": [ |
| 74 | + "git add checks/HADR.Tests.ps1" |
| 75 | + ] |
| 76 | + }, |
| 77 | + { |
| 78 | + "cell_type": "code", |
| 79 | + "execution_count": 4, |
| 80 | + "metadata": {}, |
| 81 | + "outputs": [ |
| 82 | + { |
| 83 | + "name": "stdout", |
| 84 | + "output_type": "stream", |
| 85 | + "text": [ |
| 86 | + "[tboggiano-clrsafe d3ff614] HADR doesnt run on Core because FailoverCluster Module wont load\n", |
| 87 | + " Committer: Rob <[email protected]>\n", |
| 88 | + "Your name and email address were configured automatically based\n", |
| 89 | + "on your username and hostname. Please check that they are accurate.\n", |
| 90 | + "You can suppress this message by setting them explicitly. Run the\n", |
| 91 | + "following command and follow the instructions in your editor to edit\n", |
| 92 | + "your configuration file:\n", |
| 93 | + "\n", |
| 94 | + " git config --global --edit\n", |
| 95 | + "\n", |
| 96 | + "After doing this, you may fix the identity used for this commit with:\n", |
| 97 | + "\n", |
| 98 | + " git commit --amend --reset-author\n", |
| 99 | + "\n", |
| 100 | + " 1 file changed, 19 insertions(+), 3 deletions(-)\n" |
| 101 | + ] |
| 102 | + } |
| 103 | + ], |
| 104 | + "source": [ |
| 105 | + "git commit -m ' HADR doesnt run on Core because FailoverCluster Module wont load'" |
| 106 | + ] |
| 107 | + }, |
| 108 | + { |
| 109 | + "cell_type": "code", |
| 110 | + "execution_count": 5, |
| 111 | + "metadata": {}, |
| 112 | + "outputs": [ |
| 113 | + { |
| 114 | + "name": "stdout", |
| 115 | + "output_type": "stream", |
| 116 | + "text": [ |
| 117 | + "error: refs/remotes/tboggiano/serviceaccountadmins does not point to a valid object!\n", |
| 118 | + "fatal: unable to access 'https://github.com/sqlcollaborative/dbachecks.git/': Could not resolve host: github.com\n" |
| 119 | + ] |
| 120 | + } |
| 121 | + ], |
| 122 | + "source": [ |
| 123 | + "git push" |
| 124 | + ] |
| 125 | + }, |
| 126 | + { |
| 127 | + "cell_type": "code", |
| 128 | + "execution_count": null, |
| 129 | + "metadata": {}, |
| 130 | + "outputs": [], |
| 131 | + "source": [] |
| 132 | + } |
| 133 | + ], |
| 134 | + "metadata": { |
| 135 | + "kernelspec": { |
| 136 | + "display_name": ".NET (PowerShell)", |
| 137 | + "language": "PowerShell", |
| 138 | + "name": ".net-powershell" |
| 139 | + }, |
| 140 | + "language_info": { |
| 141 | + "file_extension": ".ps1", |
| 142 | + "mimetype": "text/x-powershell", |
| 143 | + "name": "PowerShell", |
| 144 | + "pygments_lexer": "powershell", |
| 145 | + "version": "7.0" |
| 146 | + } |
| 147 | + }, |
| 148 | + "nbformat": 4, |
| 149 | + "nbformat_minor": 4 |
| 150 | +} |
0 commit comments