Skip to content

Instantly share code, notes, and snippets.

@carlolars
carlolars / .wsl-git.md
Last active Jun 18, 2021
HOWTO: Use WSL and its Git in a mixed development environment
View .wsl-git.md

How to setup a development environment where Git from WSL integrates with native Windows applications, using the Windows home folder as the WSL home and using Git from WSL for all tools.

Note if using Git for Windows, or any tool on the Windows side that does not use Git from WSL then there will likely be problems with file permissions if using those files from inside WSL.

Tools

These are the tools I use:

  • git (wsl) - Command line git from within WSL.
  • Fork (windows) - Git GUI (must be used with wslgit)
  • wslgit - Makes git from WSL available for Windows applications. Important! Follow the installation instructions and do (at least) the first optional step and then the Usage in Fork instructions.
@shuanghua
shuanghua / ss-libev v2ray-plugin.md
Last active Jun 14, 2021
ss-libev + v2ray-plugin + tls
View ss-libev v2ray-plugin.md

ss-libev 插件 v2ray-plugin 的安装使用

请确保已经正确安装好了 ss-libev

购买域名 / 或申请免费域名

配置 Cloudflare

@Chaser324
Chaser324 / GitHub-Forking.md
Last active Jun 24, 2021
GitHub Standard Fork & Pull Request Workflow
View GitHub-Forking.md

Whether you're trying to give back to the open source community or collaborating on your own projects, knowing how to properly fork and generate pull requests is essential. Unfortunately, it's quite easy to make mistakes or not know what you should do when you're initially learning the process. I know that I certainly had considerable initial trouble with it, and I found a lot of the information on GitHub and around the internet to be rather piecemeal and incomplete - part of the process described here, another there, common hangups in a different place, and so on.

In an attempt to coallate this information for myself and others, this short tutorial is what I've found to be fairly standard procedure for creating a fork, doing your work, issuing a pull request, and merging that pull request back into the original project.

Creating a Fork

Just head over to the GitHub page and click the "Fork" button. It's just that simple. Once you've done that, you can use your favorite git client to clone your repo or j