Repository navigation
Add upstream & upstreamfr commands #118
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
luzzardik
wants to merge
3
commits into
AventiumSoftworks:master
Choose a base branch
from
luzzardik:upstreamcmd
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,34 @@ | ||
| module.exports = { | ||
| "title": "Update launcher from upstream", | ||
| "description": "Here's a quick guide to fetch the latest changes from the original repository.", | ||
| "fields": [ | ||
| { | ||
| "title": "1.", | ||
| "description": "First, you'll need to add the original repo as a remote origin. If you already done so, you can skip this step.\n`git remote add upstream https://github.com/dscalzi/HeliosLauncher.git`" | ||
| }, | ||
| { | ||
| "title": "2.", | ||
| "description": "Ensure your git tree is clean, meaning every changes you made have been committed and pushed to your repo." | ||
| }, | ||
| { | ||
| "title": "3.", | ||
| "description": "You may now fetch the history from the original repository using `git fetch upstream`" | ||
| }, | ||
| { | ||
| "title": "4.", | ||
| "description": "You can now update your local branch and merge the latest changes on the original repo with `git merge upstream/master`" | ||
| }, | ||
| { | ||
| "title": "5.", | ||
| "description": "Fix any merge conflict you may have. Here's an article from Github that may help you : [Resolving a merge conflict using the command line](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/addressing-merge-conflicts/resolving-a-merge-conflict-using-the-command-line)" | ||
| }, | ||
| { | ||
| "title": "6.", | ||
| "description": "Commit and push your changes" | ||
| }, | ||
| { | ||
| "title": "7.", | ||
| "description": "Your repo is up to date! You can now push an update to your players." | ||
| } | ||
| ] | ||
| } | ||
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,34 @@ | ||
| module.exports = { | ||
| "title": "Mettre à jour le launcher", | ||
| "description": "Comment mettre à jour le launcher avec les modifications du repo originel ?", | ||
| "fields": [ | ||
| { | ||
| "title": "1.", | ||
| "description": "Premièrement, vous devez ajouter le repo originel en tant qu'origine distance. Si vous l'avez déjà fait, passez cette étape.\n`git remote add upstream git@github.com:dscalzi/HeliosLauncher.git`" | ||
| }, | ||
| { | ||
| "title": "2.", | ||
| "description": "Assurez-vous que votre branche locale est propre, autrement dit, que toutes vos modifications ont bien été \"commit\" et poussées." | ||
| }, | ||
| { | ||
| "title": "3.", | ||
| "description": "Vous pouvez maintenant récupérer l'historique du repo originel avec `git fetch upstream`" | ||
| }, | ||
| { | ||
| "title": "4.", | ||
| "description": "Procédez à la mise à jour de votre branche locale et à la fusion des derniers changements sur le repo originel à l'aide de `git merge upstream/master`" | ||
| }, | ||
| { | ||
| "title": "5.", | ||
| "description": "Réparez les potentils conflits de fusion que vous pourriez avoir. Voilà un article de GitHub pour vous aider : [Résolution d’un conflit de fusion en utilisant la ligne de commande](https://docs.github.com/fr/pull-requests/collaborating-with-pull-requests/addressing-merge-conflicts/resolving-a-merge-conflict-using-the-command-line)" | ||
| }, | ||
| { | ||
| "title": "6.", | ||
| "description": "Faîtes un \"commit\" et poussez vos changements." | ||
| }, | ||
| { | ||
| "title": "7.", | ||
| "description": "Votre repo est maintenant à jour ! Vous pouvez publier une mise à jour à vos joueurs." | ||
| } | ||
| ] | ||
| } |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You should mention they need to skip this step if Git says there's already an origin named Upstream
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Isn't "If you already done so, you can skip this step." enough ? ^^'
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably, but you should mention git might setup upstream by default, mainly if the users are using GitHub Desktop