-
Notifications
You must be signed in to change notification settings - Fork 2
/
___GDiff.bat
116 lines (100 loc) · 2.56 KB
/
___GDiff.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
@rem
@echo off
set wait=d:\Prj_4\Android\Bin\Utils\wait\wait.exe
set git_path=c:\Program Files (x86)\Git\
set git="%git_path%cmd\git.exe"
set prj_path=%~d0%~p0
rem %wait% colors
echo.
%wait% color 0B
echo Îòëè÷èÿ
%wait% color 0F
%git% reset
%git% add -A
%wait% color 0B
%wait% color 0F
%git% add -A
echo ===============================
%git% status
echo ===============================
%git% status --short
echo ===============================
pause
exit
echo ----------------------------
echo git diff
echo ----------------------------
%git% pull
%git% diff
echo ----------------------------
echo status
%git% status -help
echo ----------------------------
%git% status --ignored
echo ----------------------------
%git% status
echo ----------------------------
%git% status --short
echo ----------------------------
%git% status --untracked-files
echo ----------------------------
%git% diff --name-only
echo ----------------------------
%git% diff --name-only --staged
echo ----------------------------
%git% status -s --porcelain
echo ----------------------------+
echo ----------------------------*
echo ls-files --modified
%git% ls-files --modified
echo ----------------------------
echo ls-files --ignored
%git% ls-files --ignored
rem %git% ls-files --[cached|deleted|others|ignored|stage|unmerged|killed|modified]
echo ----------------------------
%git% show -help
echo ----------------------------
%git% diff HEAD
%git% show –name-only
echo ----------------------------
status --untracked-files=M
File status flags:
M modified - File has been modified
C copy-edit - File has been copied and modified
R rename-edit - File has been renamed and modified
A added - File has been added
D deleted - File has been deleted
U unmerged - File has conflicts after a merge
%git% status -u no
echo ----------------------------
%git% diff ls-files -m
echo ----------------------------
%git% diff --name-status
%git% diff --name-status --oneline
%git% diff --name-status SHA1
echo ----------------------------
%git% diff --name-status TAG
echo ----------------------------
rem %git% diff --name-only SHA1 SHA2
rem %git% diff --name-only HEAD~10 HEAD~5
echo ----------------------------
%git% status --verbose
echo ----------------------------
echo ----------------------------
%git% checkout -help
echo ----------------------------
%git% checkout
echo ----------------------------
%git% checkout -q
echo ----------------------------
%git% merge
echo ----------------------------
pause
exit
%git% diff
%git% diff -help
%wait% color 0F
rem %git% diff --cached
echo.
%wait% wait 30
rem +++