mirror of
https://github.com/EiffelSoftware/eiffel-org.git
synced 2025-12-07 07:12:25 +01:00
Update wikipage Code Templates. (Signed-off-by:javier).
git-svn-id: https://svn.eiffel.com/eiffel-org/trunk@1690 abb3cda0-5349-4a8f-a601-0c33ac3a8c38
This commit is contained in:
@@ -104,7 +104,45 @@ That was a targeted template: EiffelStudio will propose it whenever the user typ
|
||||
|
||||
<span id="share_code_templates"></span>
|
||||
=Sharing code templates=
|
||||
You can share your code templates using Github
|
||||
|
||||
<span id="githib_code_templates"></span>
|
||||
=Contributing Code Templates EiffelStudio=
|
||||
|
||||
* Fork the project (https://github.com/EiffelSoftware/EiffelStudio), clone your fork, and configure the remotes:
|
||||
|
||||
# Clone your fork of the repo into the current directory
|
||||
<code>git clone https://github.com/<your-username>/<repo-name></code>
|
||||
# Navigate to the newly cloned directory
|
||||
<code>cd <repo-name></code>
|
||||
# Assign the original repo to a remote called "upstream"
|
||||
<code>git remote add upstream https://github.com/<upstream-owner>/<repo-name></code>
|
||||
|
||||
If you cloned a while ago, get the latest changes from upstream:
|
||||
|
||||
<code>
|
||||
git checkout <dev-branch>
|
||||
git pull upstream <dev-branch>
|
||||
</code>
|
||||
|
||||
# Create a new topic branch (off the main project development branch) to contain your new code template
|
||||
|
||||
<code>git checkout -b <topic-branch-name></code>
|
||||
Commit your changes in logical chunks. Please adhere to these git commit message guidelines or your code is unlikely be merged into the main project. Use Git's interactive rebase feature to tidy up your commits before making them public.
|
||||
|
||||
Locally merge (or rebase) the upstream development branch into your topic branch:
|
||||
|
||||
<code>git pull [--rebase] upstream <dev-branch></code>
|
||||
|
||||
Push your topic branch up to your fork:
|
||||
|
||||
<code>git push origin <topic-branch-name></code>
|
||||
|
||||
# Open a Pull Request with a clear title and description
|
||||
|
||||
|
||||
# Code Template Review
|
||||
For your work to be integrated into the project, the maintainers will review your work and either request changes or merge it.
|
||||
|
||||
|
||||
<span id="gui_template"></span>
|
||||
|
||||
Reference in New Issue
Block a user