- http://stackoverflow.com/questions/804115 (
rebasevsmerge). - https://www.atlassian.com/git/tutorials/merging-vs-rebasing (
rebasevsmerge) - https://www.atlassian.com/git/tutorials/undoing-changes/ (
resetvscheckoutvsrevert) - http://stackoverflow.com/questions/2221658 (HEAD^ vs HEAD~) (See
git rev-parse) - http://stackoverflow.com/questions/292357 (
pullvsfetch) - http://stackoverflow.com/questions/39651 (
stashvsbranch) - http://stackoverflow.com/questions/8358035 (
resetvscheckoutvsrevert)
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
| export default defineEventHandler(async (event): Promise<any> => { | |
| const { apiBaseUrl } = useRuntimeConfig(); | |
| if (!apiBaseUrl) { | |
| throw new Error("Missing `runtimeConfig.apiBaseUrl` configuration."); | |
| } | |
| const { method, url, headers: originalClientHeaders } = event.node.req; | |
| const headersForFetch: Record<string, string> = {}; | |
| if (originalClientHeaders) { |
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
| export default defineEventHandler(async (event): Promise<any> => { | |
| const { apiBaseUrl } = useRuntimeConfig(); | |
| if (!apiBaseUrl) { | |
| throw new Error("Missing `runtimeConfig.apiBaseUrl` configuration."); | |
| } | |
| const { method, url, headers: originalClientHeaders } = event.node.req; | |
| const headersForFetch: Record<string, string> = {}; | |
| if (originalClientHeaders) { |
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
| { | |
| "editor.fontSize": 14, | |
| "editor.formatOnPaste": true, | |
| "editor.multiCursorModifier": "ctrlCmd", | |
| "editor.snippetSuggestions": "top", | |
| "files.autoSave": "off", | |
| "files.exclude": { | |
| "__pycache__": true, | |
| "__pychache__": true, | |
| "*.pyc": true, |
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
| # delete local tag '12345' | |
| git tag -d 12345 | |
| # delete remote tag '12345' (eg, GitHub version too) | |
| git push origin :refs/tags/12345 | |
| # alternative approach | |
| git push --delete origin tagName | |
| git tag -d tagName |
Getting started:
Related tutorials: