Created
May 24, 2023 08:11
-
-
Save jserpapinto/296222186b553361c2f4048d9320749f to your computer and use it in GitHub Desktop.
Bash functions
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
function git_unstage () { | |
git restore --staged $@ | |
} | |
# function to fast push code to git | |
function fast_git_push () { | |
git add .; git commit --amend --no-edit; git push origin $(git branch --show-current) $1 | |
} | |
# function to get azure ad user object id | |
function az_user_id () { | |
az ad user show --id "$1"@dystematic.com --query id --out tsv | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment