forked from mapbox/mapbox-gl-js
-
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 "Version Control Conventions" in CONTRIBUTING.md (mapbox#9255)
- Loading branch information
1 parent
e3a41f6
commit 0a690bd
Showing
1 changed file
with
9 additions
and
0 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 |
---|---|---|
|
@@ -135,6 +135,15 @@ The conventions for module exports are: | |
|
||
* We use [rebase merging](https://git-scm.com/book/en/v2/Git-Branching-Rebasing) (as opposed to [basic merging](https://git-scm.com/book/en/v2/Git-Branching-Basic-Branching-and-Merging#Basic-Merging)) to merge branches | ||
|
||
Here is a recommended way to get setup: | ||
1. Fork this project | ||
2. Clone your new fork, `git clone [email protected]:GithubUser/mapbox-gl-js.git` | ||
3. `cd mapbox-gl-js` | ||
4. Add the Mapbox repository as an upstream repository: `git add remote upstream [email protected]:mapbox/mapbox-gl-js.git` | ||
5. Create a new branch `git checkout -b your-branch` for your contribution | ||
6. Write code, open a PR from your branch when you're ready | ||
7. If you need to rebase your fork's PR branch onto master to resolve conflicts: `git fetch upstream`, `git rebase upstream/master` and force push to Github `git push --force origin your-branch` | ||
|
||
## Documentation Conventions | ||
|
||
See [`README.md`](https://github.com/mapbox/mapbox-gl-js-docs/blob/publisher-production/README.md) from [`mapbox-gl-js-docs`](https://github.com/mapbox/mapbox-gl-js-docs/). | ||
|