Last active
September 30, 2021 09:08
-
-
Save allanShady/52d6bbad0a1dcb7478f42cb916e0a74b to your computer and use it in GitHub Desktop.
Usefull git commands
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
#!/bin/bash | |
# remove all local branches except develop | |
git branch | grep -v “develop” | xargs git branch -d | |
# undo the most recent git commit | |
git commit -m “core: commit message to undo live here” | |
# udoing the previous commit | |
git reset HEAD~ | |
#delete branch locally | |
git branch -d <branche-to-delete-goes-here> | |
# delete branch from remote | |
git push origin --delete <branche-to-delete-goes-here> | |
# Quarkus check aws extension | |
quarkus ext --installable -s aws | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment