Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Steps to Update Your Feature Branch with git merge #35

Open
gurmehak opened this issue Nov 26, 2024 · 0 comments
Open

Steps to Update Your Feature Branch with git merge #35

gurmehak opened this issue Nov 26, 2024 · 0 comments

Comments

@gurmehak
Copy link
Collaborator

Steps to Update Your Feature Branch with git merge
Switch to your feature branch:
git checkout feature-branch
Fetch the latest changes from the remote repository:
git fetch origin
Merge the updated develop branch into your feature branch:
git merge origin/develop
Resolve conflicts if they occur:
Open the conflicted files. Look for conflict markers like <<<<<<<, =======, and >>>>>>>.
Edit the files to resolve conflicts by keeping the desired changes.
After resolving, stage the resolved files:
git add
Complete the merge:
git commit
Push your updated feature branch to the remote repository (if needed):
git push origin feature-branch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant