Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

i want to merge head with master in git

# Create temporary branch for your detached head
git branch tmp

# Go to master
git checkout master

# Merge in commits from previously detached head
git merge tmp

# Delete temporary branch
git branch -d tmp
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #merge #head #master #git
ADD COMMENT
Topic
Name
7+2 =