Last active
March 17, 2020 09:27
-
-
Save sumitpore/5bb77ea3595afb7092b00e4d5abe753e to your computer and use it in GitHub Desktop.
Merging Through CLI
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 fetch origin | |
git checkout -b "source-branch" "origin/source-branch" | |
git checkout "origin/target-branch" | |
git merge --no-ff "source-branch" | |
git commit -m "Commit Message" | |
git push origin HEAD:target-branch |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment