Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

git merge

# Fast Forward Merge 
# Start a new feature
git checkout -b new-feature main
# Edit some files
git add <file>
git commit -m "Start a feature"
# Edit some files
git add <file>
git commit -m "Finish a feature"
# Merge in the new-feature branch
git checkout main
git merge new-feature
git branch -d new-feature
Source by www.atlassian.com #
 
PREVIOUS NEXT
Tagged: #git #merge
ADD COMMENT
Topic
Name
2+3 =