From 5fe7530a59a8d75a69876d22ded72905600337bf Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 30 Aug 2021 12:31:30 +0200 Subject: [PATCH] Rename to new-branch.ps1 and new-tag.ps1 --- Data/scripts.csv | 4 ++-- README.md | 4 ++-- Scripts/{create-branch.ps1 => new-branch.ps1} | 4 ++-- Scripts/{create-tag.ps1 => new-tag.ps1} | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) rename Scripts/{create-branch.ps1 => new-branch.ps1} (94%) rename Scripts/{create-tag.ps1 => new-tag.ps1} (96%) diff --git a/Data/scripts.csv b/Data/scripts.csv index 210bedf8..57e5527b 100644 --- a/Data/scripts.csv +++ b/Data/scripts.csv @@ -59,8 +59,6 @@ convert-ps2bat.ps1, converts PowerShell script(s) to .bat files convert-ps2md.ps1, converts the comment-based help of a PowerShell script to Markdown convert-sql2csv.ps1, converts the SQL database table to a CSV file convert-txt2wav.ps1, converts text into a audio .WAV file -create-branch.ps1, creates a new branch in the current/given Git repository -create-tag.ps1, creates a new tag in the current/given Git repository daily-tasks.sh, execute PowerShell scripts automatically as daily tasks (Linux only) decrypt-file.ps1, decrypts the given file display-time.ps1, displays the current time for 10 seconds by default @@ -174,10 +172,12 @@ publish-to-ipfs.ps1, publishes the given files or directory to IPFS pull-repo.ps1, pulls updates for the current/given Git repository (including submodules) pull-repos.ps1, pulls updates for all Git repositories under the current/given directory (including submodules) query-smart-data.ps1, queries the S.M.A.R.T. data of your HDD/SSD's and saves it to the current/given directory +new-branch.ps1, creates a new branch in the current/given Git repository new-email.ps1, starts the default email client to write a new email new-script.ps1, creates a new PowerShell script new-shortcut.ps1, creates a new shortcut new-symlink.ps1, creates a new symbolic link +new-tag.ps1, creates a new tag in a Git repository reboot.ps1, reboots the local computer (needs admin rights) reboot-fritzbox.ps1, reboots the FRITZ!box device remove-empty-dirs.ps1, removes empty subfolders within the given directory tree diff --git a/README.md b/README.md index 0b840911..16e014d1 100644 --- a/README.md +++ b/README.md @@ -195,8 +195,6 @@ Mega Collection of PowerShell Scripts | [clean-repos.ps1](Scripts/clean-repos.ps1) | Cleans all Git repositories under a directory from untracked files (including submodules) | [Manual](Docs/clean-repos.ps1.md) | | [clone-repos.ps1](Scripts/clone-repos.ps1) | Clones well-known Git repositories | [Manual](Docs/clone-repos.ps1.md) | | [configure-git.ps1](Scripts/configure-git.ps1) | Sets up the Git user configuration | [Manual](Docs/configure-git.ps1.md) | -| [create-branch.ps1](Scripts/create-branch.ps1) | Creates a new branch in a Git repository | [Manual](Docs/create-branch.ps1.md) | -| [create-tag.ps1](Scripts/create-tag.ps1) | Creates a new tag in a Git repository | [Manual](Docs/create-tag.ps1.md) | | [fetch-repo.ps1](Scripts/fetch-repo.ps1) | Fetches updates for a Git repository (including submodules) | [Manual](Docs/fetch-repo.ps1.md) | | [fetch-repos.ps1](Scripts/fetch-repos.ps1) | Fetches updates for all Git repositories under a directory (including submodules) | [Manual](Docs/fetch-repos.ps1.md) | | [list-branches.ps1](Scripts/list-branches.ps1) | Lists all branches in a Git repository | [Manual](Docs/list-branches.ps1.md) | @@ -207,6 +205,8 @@ Mega Collection of PowerShell Scripts | [list-tags.ps1](Scripts/list-tags.ps1) | Lists all tags in a Git repository | [Manual](Docs/list-tags.ps1.md) | | [make-repo.ps1](Scripts/make-repo.ps1) | Builds a Git repository | [Manual](Docs/make-repo.ps1.md) | | [make-repos.ps1](Scripts/make-repos.ps1) | Builds all Git repositories under a directory | [Manual](Docs/make-repos.ps1.md) | +| [new-branch.ps1](Scripts/new-branch.ps1) | Creates a new branch in a Git repository | [Manual](Docs/new-branch.ps1.md) | +| [new-tag.ps1](Scripts/new-tag.ps1) | Creates a new tag in a Git repository | [Manual](Docs/new-tag.ps1.md) | | [pull-repo.ps1](Scripts/pull-repo.ps1) | Pulls updates for a Git repository (including submodules) | [Manual](Docs/pull-repo.ps1.md) | | [pull-repos.ps1](Scripts/pull-repos.ps1) | Pulls updates for all Git repositories under a directory (including submodules) | [Manual](Docs/pull-repos.ps1.md) | | [switch-branch.ps1](Scripts/switch-branch.ps1) | Switches the branch in a Git repository (including submodules) | [Manual](Docs/switch-branch.ps1.md) | diff --git a/Scripts/create-branch.ps1 b/Scripts/new-branch.ps1 similarity index 94% rename from Scripts/create-branch.ps1 rename to Scripts/new-branch.ps1 index f7aa6b4c..798beb26 100755 --- a/Scripts/create-branch.ps1 +++ b/Scripts/new-branch.ps1 @@ -1,10 +1,10 @@ <# .SYNOPSIS - create-branch.ps1 [] [] + new-branch.ps1 [] [] .DESCRIPTION Creates and switches to a new branch in a Git repository. .EXAMPLE - PS> .\create-branch.ps1 moonshot + PS> .\new-branch.ps1 moonshot .NOTES Author: Markus Fleschutz · License: CC0 .LINK diff --git a/Scripts/create-tag.ps1 b/Scripts/new-tag.ps1 similarity index 96% rename from Scripts/create-tag.ps1 rename to Scripts/new-tag.ps1 index af489515..87b653bb 100755 --- a/Scripts/create-tag.ps1 +++ b/Scripts/new-tag.ps1 @@ -1,6 +1,6 @@ <# .SYNOPSIS - create-tag.ps1 [] [] + new-tag.ps1 [] [] .DESCRIPTION Creates a new tag in a Git repository. .EXAMPLE