-
create a cmd/bat file with the command. E.g. retag.cmd, save it in C:\git-scripts for example
-
add your git commands to the file. For example, this set of commands deletes the specified tag from your current branch both locally and remotely, then tags it with the same tag and pushes the change remotely
git tag -d %1
git push origin :refs/tags/%1
This file contains 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
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 32 40" width="32" height="40" fill="none" xmlns:v="https://vecta.io/nano"><path d="M32 15.88a15.74 15.74 0 0 1-4.619 11.159L16 40 4.613 27.04a15.86 15.86 0 0 1-3.95-6.633 15.77 15.77 0 0 1-.34-7.698c.525-2.555 1.675-4.942 3.35-6.95S7.494 2.18 9.924 1.2A16.11 16.11 0 0 1 17.606.08c2.613.262 5.122 1.158 7.304 2.6s3.97 3.415 5.206 5.715A15.79 15.79 0 0 1 32 15.881h0z" fill="#1461de"/><path fill="url(#A)" d="M5.384 3.973h21.143v22.12H5.384z"/><path d="M10.065 19.188l-.37 1.097h.725l.37-1.097h-.725zm2.1-6.234l-.414 1.233h.725l.414-1.233h-.725zm5.165-7.33H14.64l-.79 2.325h.733l.554-1.644h1.7l.567 1.644h.723l-.79-2.325zm1 3.016h-4.727l-1.23 3.634h7.185L18.35 8.64zm1.456 4.315h-.725l.414 1.233h.725l-.414-1.233zm.65 1.914h-8.936l-1.234 3.64h11.395l-1.224-3.64zm1.453 4.32h-.725l.37 1.097h.725l-.37-1.097zM7.034 20.966v3.448H24.94v-3.448H7.034z" fill="#fff"/><defs><pattern id="A" patternContentUnits="objectBoundingBox" width=" |
This file contains 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
{ | |
"title": "Microsoft Remote Desktop", | |
"rules": [ | |
{ | |
"description": "Windows Mappings", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { "key_code": "x", "modifiers": { "mandatory": [ "command" ] } }, | |
"to": [ { "key_code": "x", "modifiers": [ "left_control" ] } ], |