Skip to content

Instantly share code, notes, and snippets.

View jsookikian's full-sized avatar

Jordan Sookikian jsookikian

View GitHub Profile
@srebalaji
srebalaji / git-hard-delete
Last active October 10, 2023 13:10
Examples of git custom command
#!/bin/sh
branch=$1
if [ ! -z "$1" ]
then
git branch -D $branch
git push -d origin $branch
else
echo "Branch name is not specified"