Created
November 19, 2023 21:51
-
-
Save Sekiphp/56fd8af63b4709868b5caa1b29d58e73 to your computer and use it in GitHub Desktop.
Simple script for open git repository in brower. Working only for repositories with one specific pattern. Useful for Magento 2.
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
#!/bin/bash | |
REPO_NAME=$(basename "$PWD") | |
$(explorer.exe "https://server.com/project/_git/magento2-"$REPO_NAME"") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
$ cat ~/.bashrc
# WSL: Use default Windows browser for opening tabs in host system
export BROWSER='/mnt/c/Windows/explorer.exe'