Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| github-desktop [2022/05/29 06:55] – added instructions for macOS atari | github-desktop [2023/04/27 02:37] (current) – [Make a pull request] update tip about new feature atari | ||
|---|---|---|---|
| Line 78: | Line 78: | ||
| <WRAP center round help> | <WRAP center round help> | ||
| - | If having difficulty getting your browser to recognize the protocol (either due to weird permission issues or manual installation), | + | If having difficulty getting your browser to recognize the protocol (either due to weird permission issues or manual installation), reboot your computer and try again. Seriously. Github Desktop installs the protocol handlers which only get activated on boot for some operating systems. |
| + | |||
| + | If it's still failing after that, it is possible to copy and paste a known-working configuration folder from another operating system into the one you are having the difficulties with. | ||
| * Windows config folder: '' | * Windows config folder: '' | ||
| Line 85: | Line 87: | ||
| Make sure GitHub Desktop is closed before doing this. | Make sure GitHub Desktop is closed before doing this. | ||
| </ | </ | ||
| - | |||
| ==== Fixing submodule downloading ==== | ==== Fixing submodule downloading ==== | ||
| - | Batocera makes ludicrous use of submodules to compile. You'll find that when attempting to make new branches, they' | + | Batocera makes ludicrous use of submodules to compile. You'll find that when attempting to make new branches, they' |
| < | < | ||
| Line 108: | Line 109: | ||
| {{: | {{: | ||
| - | If you've already forked the project, great! Just click it here and clone it, choosing to contribute to the parent project. Otherwise, click on **URL** at the top to switch to another screen. | + | If you've already forked the project, great! Just click it here and clone it, choosing to contribute to the parent project. |
| + | |||
| + | Otherwise, click on **URL** at the top to switch to another screen. | ||
| Enter the URL of the repository you want to clone. Here, I will be copying the [[https:// | Enter the URL of the repository you want to clone. Here, I will be copying the [[https:// | ||
| Line 117: | Line 120: | ||
| {{: | {{: | ||
| + | |||
| + | When asked what project you'd like to contribute to, select the one hosted by batocera.linux, | ||
| ==== Create a new branch ==== | ==== Create a new branch ==== | ||
| Line 139: | Line 144: | ||
| <WRAP center round info> | <WRAP center round info> | ||
| - | If you're cloning an already forked project, this step will not be necessary. | + | If you're cloning an already forked project, this step will not occur. |
| </ | </ | ||
| - | You'll then be asked how you'd like to use the project. Leave it on **To contribute to the parent project** and click **Continue**: | + | You'll then be asked how you'd like to use the project. Leave it on **To contribute to the parent project** |
| {{: | {{: | ||
| Line 175: | Line 180: | ||
| {{: | {{: | ||
| + | |||
| + | <WRAP center round tip> | ||
| + | New feature: Pull request changes can be previewed in Github Desktop before going to the web page to preview it. This can be useful, but it's not needed right now. Click the down arrow next to the **Preview Pull Request** to switch it back to **Create Pull Request**. | ||
| + | </ | ||
| Github is smart enough to automatically insert the title and description you entered for the commit you made earlier, but do note that this is only for the first commit you made. If you've made multiple commits, make sure to double check the fields here. | Github is smart enough to automatically insert the title and description you entered for the commit you made earlier, but do note that this is only for the first commit you made. If you've made multiple commits, make sure to double check the fields here. | ||
| Line 206: | Line 215: | ||
| - Click on **History** near the top left of the window | - Click on **History** near the top left of the window | ||
| - Select the commits you wish to squash (either by holding '' | - Select the commits you wish to squash (either by holding '' | ||
| - | - Right-click and select **Squash <#> commits** {{ : | + | - Right-click and select **Squash <#> commits** {{: |
| - | - Create a new title and description that includes all your changes {{ : | + | - Create a new title and description that includes all your changes\\ {{: |
| - | - Click **Force push origin** {{ : | + | - Click **Force push origin**\\ {{: |
| - | - Confirm the changes have been reflected in the pull request {{ : | + | - Confirm the changes have been reflected in the pull request\\ {{: |
| ==== Fetch upstream changes ==== | ==== Fetch upstream changes ==== | ||
| Line 221: | Line 230: | ||
| {{: | {{: | ||
| - | To repair this, there are two methods: | + | To repair this, there are multiple |
| + | |||
| + | === Just use batocera.linux' | ||
| + | |||
| + | This is the simplest solution, just use batocera.linux' | ||
| + | |||
| + | * Renaming the '' | ||
| + | * Deleting the '' | ||
| + | |||
| + | To do the latter, first be on a branch that isn't master, then right-click the local '' | ||
| - | === Quick and dirty === | + | === Merging/ |
| Similar to the command line procedure, we will merge directly from upstream. If you choose to use this method, this needs to be done every time you want to sync with upstream. | Similar to the command line procedure, we will merge directly from upstream. If you choose to use this method, this needs to be done every time you want to sync with upstream. | ||
| Line 229: | Line 247: | ||
| == Using Github Desktop == | == Using Github Desktop == | ||
| - | Merge the upstream/ | + | Merge the upstream/ |
| {{: | {{: | ||
| Line 249: | Line 267: | ||
| {{: | {{: | ||
| - | === Long and clean (permanent) | + | === Redirecting the local master branch header |
| Instead, you can edit the branch settings for your '' | Instead, you can edit the branch settings for your '' | ||
| Line 286: | Line 304: | ||
| ==== I can't sign in/ | ==== I can't sign in/ | ||
| - | Try resetting your username and authentication token by going to **File** -> **Options** -> **Accounts** -> **Sign Out**, then signing in again. | + | Try resetting your username and authentication token by going to **File** -> **Options** -> **Accounts** -> **Sign Out**, then signing in again. You may also need to explicitly sign out of Github on your web browser to get it to regenerate a new, valid token. |
| ==== Other/more complicated issues ==== | ==== Other/more complicated issues ==== | ||
- github-desktop.1653807351.txt.gz
- Last modified: 4 years ago
- by atari