gpmer / gpm.js

:gem:Git Package Manager, make you manage the repository easier, Power by Typescript & Nodejs
https://gpmer.github.io/gpm.js
MIT License
44 stars 5 forks source link

invalid path in git bash #5

Closed axetroy closed 7 years ago

axetroy commented 7 years ago

I'm submitting a ... (check one with "x")

Current behavior

使用git bash,输出的目录是window下的目录结构 如:··C:\Users\axetroy\gpmx\github.com\axetroy\WatchDog·· 这个目录在git bash下是不可用的 无法cd到该目录下

Expected behavior

添加一个参数 -u, --unix 用于将window目录输出成unix格式的

More default

Please tell us about your environment:

node:     v6.10.0
gpm:      5.3.1
arch:     x64
os:       Windows_NT 10.0.14393
platform: win32
axetroy commented 7 years ago

[94f1e2f98baef3f0ad29acaf3e1307287fcdd913] feat: support unix style path in Window Git bash with -u, --unixify flag [d6aac72a26628efc5c13dd0629f29c1fdb2d94c3]refactor: remove unixify deps

[ee2dec7f8b43607d4f2f3230933b2e2b33def702]feat: all command add -u, --unixify flag to parse path to unix style, useful in Windows Git Bash. invalid in Power Shell.

only support in Window Git Bash

transfrom windows style path to unix style, then you can run cd to enter the project