Last active
May 27, 2025 10:38
-
-
Save thesoorajsingh/0a47446e551db9f8ceee814858e8a085 to your computer and use it in GitHub Desktop.
Git Configs
This file contains hidden or 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
[alias] | |
deploystaging = "!f() { \ | |
BRANCH=$(git rev-parse --abbrev-ref HEAD) && \ | |
git fetch origin && \ | |
git checkout staging && \ | |
git merge \"$BRANCH\" && \ | |
git push origin staging && \ | |
git checkout \"$BRANCH\"; \ | |
}; f" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment