All Projects → ardevd → gitwrap

ardevd / gitwrap

Licence: MIT License
Windows Wrapper for Linux git executable

Programming Languages

C#
18002 projects

Labels

Projects that are alternatives of or similar to gitwrap

jumpfs
Jumpfs is a cross-shell bookmarking system for files. folders, urls and shell-comands. It works in PowerShell, Bash, and Cmd.
Stars: ✭ 30 (-61.04%)
Mutual labels:  wsl
nix-config
NixOS configuration (also on WSL)
Stars: ✭ 51 (-33.77%)
Mutual labels:  wsl
ubuntu-win-bootstrap
DEPRECIATED! Use "linux-comfy-chair" instead. A very simple bootstrap script to install some development tools to the Windows 10 Ubuntu Bash system - Ruby, Perl, Python, Node, Sublime Text and more!
Stars: ✭ 27 (-64.94%)
Mutual labels:  wsl
winbuntu
Makes creating and managing a Linux environment through the Windows 10 WSL easy
Stars: ✭ 76 (-1.3%)
Mutual labels:  wsl
proton wsl2
Proton Kernel for the Windows Subsystem for Linux 2 (WSL 2). Highly experimental and always at the mercy of Windows Update.
Stars: ✭ 23 (-70.13%)
Mutual labels:  wsl
miniwsl
Mini Windows Subsystem for Linux Distribution
Stars: ✭ 60 (-22.08%)
Mutual labels:  wsl
WSL-manager
unofficial gui manager for Windows Subsystem for Linux (WSL)
Stars: ✭ 25 (-67.53%)
Mutual labels:  wsl
dotfiles
Dotfiles & Developer Environment. Supports Ubuntu2004+, macOS Catalina+, Windows 10 w WSL
Stars: ✭ 30 (-61.04%)
Mutual labels:  wsl
RHWSL
Red hat UBI as a WSL Instance. Supports multiple install.
Stars: ✭ 91 (+18.18%)
Mutual labels:  wsl
WSL-Distro-Rootfs
Install anyrootfs as a WSL Instance (for Windows 10 FCU 64bit or later) [WSL-DistroLauncher](https://github.com/yuk7/WSL-DistroLauncher)
Stars: ✭ 22 (-71.43%)
Mutual labels:  wsl
AmazonWSL
Amazon Linux as a WSL Instance. Supports multiple install.
Stars: ✭ 79 (+2.6%)
Mutual labels:  wsl
dotfiles
Bootstrap your Ubuntu in a single command!
Stars: ✭ 85 (+10.39%)
Mutual labels:  wsl
WSL-Context-Menu-Manager
Manages the context menu for your Linux tools in WSL/WSL2 for Windows.
Stars: ✭ 25 (-67.53%)
Mutual labels:  wsl
WSLackware
Slackware for WSL!
Stars: ✭ 38 (-50.65%)
Mutual labels:  wsl
nvim-ghost.nvim
👻 GhostText plugin for Neovim with zero dependencies 🎉 Supports neovim running inside WSL too! 🥳 Windows/Linux/macOS supported out-of-the-box! 😄 (Other OSes need python3.6+ installed)
Stars: ✭ 32 (-58.44%)
Mutual labels:  wsl
runx
Provide X server on MS Windows with cookie authentication.
Stars: ✭ 67 (-12.99%)
Mutual labels:  wsl
uniterm
🚧Universal Terminal Emulator, might be a great toy terminal front-end for geeks.
Stars: ✭ 22 (-71.43%)
Mutual labels:  wsl
bash-zsh-on-windows-cmder
Integration of Bash, ZSH on Windows with Cmder
Stars: ✭ 37 (-51.95%)
Mutual labels:  wsl
wsl2exe
[TESTING]Use command in WSL from exe executable
Stars: ✭ 34 (-55.84%)
Mutual labels:  wsl
wsl-agent-bridge
WSL compatibility bridge for ssh-agent on Windows
Stars: ✭ 17 (-77.92%)
Mutual labels:  wsl

GitWrap

pipeline status

GitWrap is a Windows Wrapper for the Linux git executable.

Windows Subsystem for Linux is pretty awesome, but managing two separate git environment is not, especially if you use SSH keys. So, here is a little workaround that lets you call git from the WSL environment through a Windows executable.

GitWrap is experimental and can't be considered complete or reliable. It has been tested with Android Studio and seems to work pretty well when used with a compatible system.

NOTE: Please read through the list of known issues.

Requirements

  • Windows Subsystem for Linux must be installed.
  • Git should be installed in the Linux environment (WSL).
  • Supports x64 variant of Windows only.
  • To avoid most known issues, make sure your Windows 10 installation is fully up to date

Installation

Download the latest GitWrap release and place the executable anywhere you want. GitWrap is completely portable. Then configure your IDE's git executable path and make it point to GitWrap.exe. It should now be using git from your Linux Subsystem on Windows 10.

It should work with other IDE's that allow you to specify the path to the git executable but I've only tested and verified functionality with Android Studio.

To manually verify that GitWrap is working, open up a command prompt and navigate to the directory containing GitWrap.exe

GitWrap.exe --version
git version 1.9.1

If you get the expected response from the --version command you should be good to go.

Usage

If you are running WSL with a non-default wslpath you can update GitWrap to use your specified path.

GitWrap.exe --setWslPath /root/mnt

You can verify the setting with --getWslPath

Known Issues

  • Using GitWrap manually as a command line tool is a bit cumbersome. Commiting files is pretty much impossible since GitWrap cant interface with external editors for commit messages etc. You should use GitWrap with IDE's and other applications that integrate with git or interact with git directly through WSL.
  • Due to a bug in WSL affecting Windows 10 Fall Creators Update, GitWrap would not work when used with certain IDE's such as IDEA (including Android Studio). This has been resolved in Windows 10 build 17025 and any fully updated Windows 10 installation today should not encounter this issue.
  • With the initial version of Windows Subsystem for Linux it was impossible to pipe output from a Linux command directly to a Windows application. Gitwrap worked around this by piping output to a temporary file and reading the output from there. Because of this, Windows 10 Creators Update is required for GitWrap version 0.2.0.0 and newer. If you're still on an older version of Windows 10 with WSL you can use GitWrap version 0.1.

If you encounter any other issues, bugs or limitations please report them!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].