Created
August 30, 2022 16:51
-
-
Save tooinfinity/26ffbdbb37689acbe3e74ca4c7aafedb to your computer and use it in GitHub Desktop.
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
It's a set of scripts he created for that workflow. | |
But to answer your question: | |
$ git checkout -b myFeature dev | |
Creates MyFeature branch off dev. Do your work and then | |
$ git commit -am "Your message" | |
Now merge your changes to dev without a fast-forward | |
$ git checkout dev | |
$ git merge --no-ff myFeature | |
Now push changes to the server | |
$ git push origin dev | |
$ git push origin myFeature | |
And you'll see it how you want it. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment