mirror of
https://github.com/iwata/git-now.git
synced 2026-09-10 07:26:29 -04:00
Merge 458b2a2b05 into a07a05893b
This commit is contained in:
commit
7ccd225825
11
README.mdown
11
README.mdown
|
|
@ -50,6 +50,17 @@ If you prefer a manual installation, please use the following instructions:
|
|||
|
||||
$ git clone --recursive git://github.com/iwata/git-now.git
|
||||
|
||||
#### for Windows
|
||||
Then, you can install `git-now`, using:
|
||||
|
||||
> .\contrib\msysgit-install.bat
|
||||
|
||||
By default, git-now will be installed in %HOME%, If %HOME% is not defined be installed in %UserProfile%\bin.
|
||||
|
||||
|
||||
*note : shFlags needs "getopt.exe" or others, Reffer to [gitflow installation document] (https://github.com/nvie/gitflow/wiki/Windows).*
|
||||
|
||||
#### for Others
|
||||
Then, you can install `git-now`, using:
|
||||
|
||||
$ sudo make install
|
||||
|
|
|
|||
4
contrib/exclude.txt
Normal file
4
contrib/exclude.txt
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
.gitmodules
|
||||
Makefile
|
||||
README.mdown
|
||||
gitnow-shFlags
|
||||
23
contrib/msysgit-install.cmd
Normal file
23
contrib/msysgit-install.cmd
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
set STARTUP_PATH=%~d0%~p0
|
||||
if "%HOME%" == "" goto sethome
|
||||
goto makedir
|
||||
|
||||
:sethome
|
||||
echo set HOME variable
|
||||
set HOME=%UserProfile%
|
||||
|
||||
:makedir
|
||||
if not exist %HOME%\bin goto :copyshflags
|
||||
echo make bin folder
|
||||
mkdir %HOME%\bin
|
||||
|
||||
set MSYS_BIN=%HOME%\bin
|
||||
|
||||
echo Installing git-now to "%MSYS_BIN%"
|
||||
|
||||
:copyshflags
|
||||
echo copy shFlags
|
||||
copy %STARTUP_PATH%..\shFlags\src\shflags %MSYS_BIN%\gitnow-shFlags
|
||||
|
||||
:copygitnow
|
||||
xcopy /EXCLUDE:%STARTUP_PATH%exclude.txt /D /Y %STARTUP_PATH%..\* %MSYS_BIN%
|
||||
Loading…
Reference in a new issue