From b55ec35e7af9b72c8eabb0bab8d8ec639f99e22e Mon Sep 17 00:00:00 2001 From: Atharva Pise Date: Sun, 12 Mar 2023 21:59:15 +0530 Subject: [PATCH] feat: add cmd to rename local branch name --- src/data/Contributors.json | 5 +++++ src/data/error.json | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/src/data/Contributors.json b/src/data/Contributors.json index a3bb8c1..615266d 100644 --- a/src/data/Contributors.json +++ b/src/data/Contributors.json @@ -13,5 +13,10 @@ "name": "Andrei", "github_username": "andrey100f", "twitter_username": "" + }, + { + "name": "Atharva", + "github_username": "PiseAtharva", + "twitter_username": "PiseAtharva" } ] \ No newline at end of file diff --git a/src/data/error.json b/src/data/error.json index d035f6e..8bda7af 100644 --- a/src/data/error.json +++ b/src/data/error.json @@ -245,6 +245,12 @@ "title": "how to revert a commit by creating a new commit", "description": "This command is used to revert the changes introduced by a specific commit by creating a new commit that undoes those changes.", "solutions": "git revert" + }, + { + "type": "cmd", + "title": "How to rename local git branch", + "description": "If a local branch name contains unclear, incorrect, or sensitive information, you can rename it locally.", + "solutions": "git branch -m old-name new-name" } ] } \ No newline at end of file