-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update and rename resolve-protected-branch-conflicts.md to resolve-pr…
…otected-branch-conflicts.txt
- Loading branch information
1 parent
2923032
commit d199ef7
Showing
1 changed file
with
6 additions
and
6 deletions.
There are no files selected for viewing
12 changes: 6 additions & 6 deletions
12
git/resolve-protected-branch-conflicts.md → git/resolve-protected-branch-conflicts.txt
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,23 @@ | ||
## Resolve Protected branch conflicts. DEV-UAT | ||
|
||
Step 1: Create a new temporary branch from dev | ||
# Step 1: Create a new temporary branch from dev | ||
git checkout dev | ||
git pull origin dev | ||
git checkout -b temp-merge-dev-uat | ||
|
||
Step 2: Merge uat into the temporary branch | ||
# Step 2: Merge uat into the temporary branch | ||
git pull origin uat | ||
git merge uat | ||
|
||
Step 3: Resolve conflicts manually, then | ||
# Step 3: Resolve conflicts manually, then | ||
git add <conflicted-files> | ||
git commit -m "Merged uat into temp-merge-dev-uat and resolved conflicts" | ||
|
||
Step 5: Push the temporary branch to the remote repository | ||
# Step 5: Push the temporary branch to the remote repository | ||
git push origin temp-merge-dev-uat | ||
|
||
Step 6: Create a PR from temp-merge-dev-uat to dev using the interface | ||
# Step 6: Create a PR from temp-merge-dev-uat to dev using the interface | ||
|
||
Step 7: Delete the temporary branch locally and remotely after merging the PR | ||
# Step 7: Delete the temporary branch locally and remotely after merging the PR | ||
git branch -d temp-merge-dev-uat | ||
git push origin --delete temp-merge-dev-uat |