Created
January 13, 2025 12:47
-
-
Save olssonm/f5cd8ec7b9ab18e3ed184fe95585d34f to your computer and use it in GitHub Desktop.
Add branch to Laravel Forge Git-configuration
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
git config --add remote.origin.fetch +refs/heads/BRANCH_NAME:refs/remotes/origin/BRANCH_NAME | |
git fetch origin BRANCH_NAME | |
git checkout -b BRANCH_NAME origin/BRANCH_NAME | |
# Via @tylerwiegand on Laracasts.com (https://laracasts.com/discuss/channels/forge/change-a-github-branch-for-a-site-already-setup-with-forge) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment