diff options
| author | Mohammad Akhlaghi <mohammad@akhlaghi.org> | 2026-07-03 15:08:54 +0200 |
|---|---|---|
| committer | Mohammad Akhlaghi <mohammad@akhlaghi.org> | 2026-07-03 15:08:54 +0200 |
| commit | 2519ab61cdf2d23824c3a597ea3592be05d3a126 (patch) | |
| tree | 20740a8184dd541e5475d08c3676e1a06e807403 /index.html | |
| parent | 164667316415326e1231517f7677cf945328f88b (diff) | |
index.html: corrected checkout command when submitting fixes
Until now, the part of 'index.html' that instructed how to submit
fixes incorrectly asked users to use 'git branch -b', but this should
have been 'git checkout -b'. Also, we didn't have a step to make sure
the local 'maneage' branch is up to date.
With this commit, both issues have been addressed.
This problem was reported by Faezeh Bidjarchian.
Diffstat (limited to 'index.html')
| -rw-r--r-- | index.html | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -146,9 +146,10 @@ git checkout -b main <span class="comment"># Make n Here is a summary: </p> <ol> - <li>Go to the <code>maneage</code> branch and create a new branch from there like below: - <pre><code>git checkout maneage -git branch -b my-fix</code></pre> + <li>Go to the <code>maneage</code> branch, make sure it is up to date, and create a new branch from there like below: + <pre><code>git checkout maneage +git pull origin-maneage +git checkout -b my-fix</code></pre> </li> <li>Commit your fix over this new branch (see these <a href="https://www.gnu.org/software/gnuastro/manual/html_node/Commit-guidelines.html">commit message guidelines</a>).</li> <li>Build a new project on your favorite Git repository (GitLab, BitBucket, or GitHub for example) and assign it to a new Git remote in your project. |
