-
-
Notifications
You must be signed in to change notification settings - Fork 118
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
22 additions
and
20 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -2,7 +2,7 @@ name: Main | |
|
||
on: | ||
push: | ||
branches: [master] | ||
branches: [main] | ||
|
||
jobs: | ||
build-test: | ||
|
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 |
---|---|---|
|
@@ -2,7 +2,7 @@ name: CI | |
|
||
on: | ||
pull_request_target: | ||
branches: [master] | ||
branches: [main] | ||
|
||
jobs: | ||
build-test: | ||
|
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 |
---|---|---|
|
@@ -112,8 +112,8 @@ git remote add upstream [email protected]:scolladon/sfdx-git-delta.git | |
### Create a feature branch | ||
|
||
```bash | ||
git checkout master | ||
git pull origin master | ||
git checkout main | ||
git pull origin main | ||
git checkout -b feature/<name-of-the-feature> | ||
``` | ||
|
||
|
@@ -135,17 +135,17 @@ request. | |
|
||
### Rebase | ||
|
||
Sometimes your feature branch will get stale with respect to the master branch, | ||
Sometimes your feature branch will get stale with respect to the main branch, | ||
and it will require a rebase. The following steps can help: | ||
|
||
```bash | ||
git checkout master | ||
git pull upstream master | ||
git checkout main | ||
git pull upstream main | ||
git checkout feature/<name-of-the-feature> | ||
git rebase upstream/master | ||
git rebase upstream/main | ||
``` | ||
|
||
_note: If no conflicts arise, these commands will ensure that your changes are applied on top of the master branch. Any conflicts will have to be manually resolved._ | ||
_note: If no conflicts arise, these commands will ensure that your changes are applied on top of the main branch. Any conflicts will have to be manually resolved._ | ||
|
||
### Check your submission | ||
|
||
|
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
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