summaryrefslogtreecommitdiffstats
path: root/git.html
blob: 4cd8a76fbdf0b8462d48e30c7104088f39904be7 (plain)
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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
    "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" />
<meta name="generator" content="AsciiDoc 10.2.0" />
<title>git(1)</title>
<style type="text/css">
/* Shared CSS for AsciiDoc xhtml11 and html5 backends */

/* Default font. */
body {
  font-family: Georgia,serif;
}

/* Title font. */
h1, h2, h3, h4, h5, h6,
div.title, caption.title,
thead, p.table.header,
#toctitle,
#author, #revnumber, #revdate, #revremark,
#footer {
  font-family: Arial,Helvetica,sans-serif;
}

body {
  margin: 1em 5% 1em 5%;
}

a {
  color: blue;
  text-decoration: underline;
}
a:visited {
  color: fuchsia;
}

em {
  font-style: italic;
  color: navy;
}

strong {
  font-weight: bold;
  color: #083194;
}

h1, h2, h3, h4, h5, h6 {
  color: #527bbd;
  margin-top: 1.2em;
  margin-bottom: 0.5em;
  line-height: 1.3;
}

h1, h2, h3 {
  border-bottom: 2px solid silver;
}
h2 {
  padding-top: 0.5em;
}
h3 {
  float: left;
}
h3 + * {
  clear: left;
}
h5 {
  font-size: 1.0em;
}

div.sectionbody {
  margin-left: 0;
}

hr {
  border: 1px solid silver;
}

p {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

ul, ol, li > p {
  margin-top: 0;
}
ul > li     { color: #aaa; }
ul > li > * { color: black; }

.monospaced, code, pre {
  font-family: "Courier New", Courier, monospace;
  font-size: inherit;
  color: navy;
  padding: 0;
  margin: 0;
}
pre {
  white-space: pre-wrap;
}

#author {
  color: #527bbd;
  font-weight: bold;
  font-size: 1.1em;
}
#email {
}
#revnumber, #revdate, #revremark {
}

#footer {
  font-size: small;
  border-top: 2px solid silver;
  padding-top: 0.5em;
  margin-top: 4.0em;
}
#footer-text {
  float: left;
  padding-bottom: 0.5em;
}
#footer-badges {
  float: right;
  padding-bottom: 0.5em;
}

#preamble {
  margin-top: 1.5em;
  margin-bottom: 1.5em;
}
div.imageblock, div.exampleblock, div.verseblock,
div.quoteblock, div.literalblock, div.listingblock, div.sidebarblock,
div.admonitionblock {
  margin-top: 1.0em;
  margin-bottom: 1.5em;
}
div.admonitionblock {
  margin-top: 2.0em;
  margin-bottom: 2.0em;
  margin-right: 10%;
  color: #606060;
}

div.content { /* Block element content. */
  padding: 0;
}

/* Block element titles. */
div.title, caption.title {
  color: #527bbd;
  font-weight: bold;
  text-align: left;
  margin-top: 1.0em;
  margin-bottom: 0.5em;
}
div.title + * {
  margin-top: 0;
}

td div.title:first-child {
  margin-top: 0.0em;
}
div.content div.title:first-child {
  margin-top: 0.0em;
}
div.content + div.title {
  margin-top: 0.0em;
}

div.sidebarblock > div.content {
  background: #ffffee;
  border: 1px solid #dddddd;
  border-left: 4px solid #f0f0f0;
  padding: 0.5em;
}

div.listingblock > div.content {
  border: 1px solid #dddddd;
  border-left: 5px solid #f0f0f0;
  background: #f8f8f8;
  padding: 0.5em;
}

div.quoteblock, div.verseblock {
  padding-left: 1.0em;
  margin-left: 1.0em;
  margin-right: 10%;
  border-left: 5px solid #f0f0f0;
  color: #888;
}

div.quoteblock > div.attribution {
  padding-top: 0.5em;
  text-align: right;
}

div.verseblock > pre.content {
  font-family: inherit;
  font-size: inherit;
}
div.verseblock > div.attribution {
  padding-top: 0.75em;
  text-align: left;
}
/* DEPRECATED: Pre version 8.2.7 verse style literal block. */
div.verseblock + div.attribution {
  text-align: left;
}

div.admonitionblock .icon {
  vertical-align: top;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: underline;
  color: #527bbd;
  padding-right: 0.5em;
}
div.admonitionblock td.content {
  padding-left: 0.5em;
  border-left: 3px solid #dddddd;
}

div.exampleblock > div.content {
  border-left: 3px solid #dddddd;
  padding-left: 0.5em;
}

div.imageblock div.content { padding-left: 0; }
span.image img { border-style: none; vertical-align: text-bottom; }
a.image:visited { color: white; }

dl {
  margin-top: 0.8em;
  margin-bottom: 0.8em;
}
dt {
  margin-top: 0.5em;
  margin-bottom: 0;
  font-style: normal;
  color: navy;
}
dd > *:first-child {
  margin-top: 0.1em;
}

ul, ol {
    list-style-position: outside;
}
ol.arabic {
  list-style-type: decimal;
}
ol.loweralpha {
  list-style-type: lower-alpha;
}
ol.upperalpha {
  list-style-type: upper-alpha;
}
ol.lowerroman {
  list-style-type: lower-roman;
}
ol.upperroman {
  list-style-type: upper-roman;
}

div.compact ul, div.compact ol,
div.compact p, div.compact p,
div.compact div, div.compact div {
  margin-top: 0.1em;
  margin-bottom: 0.1em;
}

tfoot {
  font-weight: bold;
}
td > div.verse {
  white-space: pre;
}

div.hdlist {
  margin-top: 0.8em;
  margin-bottom: 0.8em;
}
div.hdlist tr {
  padding-bottom: 15px;
}
dt.hdlist1.strong, td.hdlist1.strong {
  font-weight: bold;
}
td.hdlist1 {
  vertical-align: top;
  font-style: normal;
  padding-right: 0.8em;
  color: navy;
}
td.hdlist2 {
  vertical-align: top;
}
div.hdlist.compact tr {
  margin: 0;
  padding-bottom: 0;
}

.comment {
  background: yellow;
}

.footnote, .footnoteref {
  font-size: 0.8em;
}

span.footnote, span.footnoteref {
  vertical-align: super;
}

#footnotes {
  margin: 20px 0 20px 0;
  padding: 7px 0 0 0;
}

#footnotes div.footnote {
  margin: 0 0 5px 0;
}

#footnotes hr {
  border: none;
  border-top: 1px solid silver;
  height: 1px;
  text-align: left;
  margin-left: 0;
  width: 20%;
  min-width: 100px;
}

div.colist td {
  padding-right: 0.5em;
  padding-bottom: 0.3em;
  vertical-align: top;
}
div.colist td img {
  margin-top: 0.3em;
}

@media print {
  #footer-badges { display: none; }
}

#toc {
  margin-bottom: 2.5em;
}

#toctitle {
  color: #527bbd;
  font-size: 1.1em;
  font-weight: bold;
  margin-top: 1.0em;
  margin-bottom: 0.1em;
}

div.toclevel0, div.toclevel1, div.toclevel2, div.toclevel3, div.toclevel4 {
  margin-top: 0;
  margin-bottom: 0;
}
div.toclevel2 {
  margin-left: 2em;
  font-size: 0.9em;
}
div.toclevel3 {
  margin-left: 4em;
  font-size: 0.9em;
}
div.toclevel4 {
  margin-left: 6em;
  font-size: 0.9em;
}

span.aqua { color: aqua; }
span.black { color: black; }
span.blue { color: blue; }
span.fuchsia { color: fuchsia; }
span.gray { color: gray; }
span.green { color: green; }
span.lime { color: lime; }
span.maroon { color: maroon; }
span.navy { color: navy; }
span.olive { color: olive; }
span.purple { color: purple; }
span.red { color: red; }
span.silver { color: silver; }
span.teal { color: teal; }
span.white { color: white; }
span.yellow { color: yellow; }

span.aqua-background { background: aqua; }
span.black-background { background: black; }
span.blue-background { background: blue; }
span.fuchsia-background { background: fuchsia; }
span.gray-background { background: gray; }
span.green-background { background: green; }
span.lime-background { background: lime; }
span.maroon-background { background: maroon; }
span.navy-background { background: navy; }
span.olive-background { background: olive; }
span.purple-background { background: purple; }
span.red-background { background: red; }
span.silver-background { background: silver; }
span.teal-background { background: teal; }
span.white-background { background: white; }
span.yellow-background { background: yellow; }

span.big { font-size: 2em; }
span.small { font-size: 0.6em; }

span.underline { text-decoration: underline; }
span.overline { text-decoration: overline; }
span.line-through { text-decoration: line-through; }

div.unbreakable { page-break-inside: avoid; }


/*
 * xhtml11 specific
 *
 * */

div.tableblock {
  margin-top: 1.0em;
  margin-bottom: 1.5em;
}
div.tableblock > table {
  border: 3px solid #527bbd;
}
thead, p.table.header {
  font-weight: bold;
  color: #527bbd;
}
p.table {
  margin-top: 0;
}
/* Because the table frame attribute is overridden by CSS in most browsers. */
div.tableblock > table[frame="void"] {
  border-style: none;
}
div.tableblock > table[frame="hsides"] {
  border-left-style: none;
  border-right-style: none;
}
div.tableblock > table[frame="vsides"] {
  border-top-style: none;
  border-bottom-style: none;
}


/*
 * html5 specific
 *
 * */

table.tableblock {
  margin-top: 1.0em;
  margin-bottom: 1.5em;
}
thead, p.tableblock.header {
  font-weight: bold;
  color: #527bbd;
}
p.tableblock {
  margin-top: 0;
}
table.tableblock {
  border-width: 3px;
  border-spacing: 0px;
  border-style: solid;
  border-color: #527bbd;
  border-collapse: collapse;
}
th.tableblock, td.tableblock {
  border-width: 1px;
  padding: 4px;
  border-style: solid;
  border-color: #527bbd;
}

table.tableblock.frame-topbot {
  border-left-style: hidden;
  border-right-style: hidden;
}
table.tableblock.frame-sides {
  border-top-style: hidden;
  border-bottom-style: hidden;
}
table.tableblock.frame-none {
  border-style: hidden;
}

th.tableblock.halign-left, td.tableblock.halign-left {
  text-align: left;
}
th.tableblock.halign-center, td.tableblock.halign-center {
  text-align: center;
}
th.tableblock.halign-right, td.tableblock.halign-right {
  text-align: right;
}

th.tableblock.valign-top, td.tableblock.valign-top {
  vertical-align: top;
}
th.tableblock.valign-middle, td.tableblock.valign-middle {
  vertical-align: middle;
}
th.tableblock.valign-bottom, td.tableblock.valign-bottom {
  vertical-align: bottom;
}


/*
 * manpage specific
 *
 * */

body.manpage h1 {
  padding-top: 0.5em;
  padding-bottom: 0.5em;
  border-top: 2px solid silver;
  border-bottom: 2px solid silver;
}
body.manpage h2 {
  border-style: none;
}
body.manpage div.sectionbody {
  margin-left: 3em;
}

@media print {
  body.manpage div#toc { display: none; }
}


</style>
<script type="text/javascript">
/*<![CDATA[*/
var asciidoc = {  // Namespace.

/////////////////////////////////////////////////////////////////////
// Table Of Contents generator
/////////////////////////////////////////////////////////////////////

/* Author: Mihai Bazon, September 2002
 * http://students.infoiasi.ro/~mishoo
 *
 * Table Of Content generator
 * Version: 0.4
 *
 * Feel free to use this script under the terms of the GNU General Public
 * License, as long as you do not remove or alter this notice.
 */

 /* modified by Troy D. Hanson, September 2006. License: GPL */
 /* modified by Stuart Rackham, 2006, 2009. License: GPL */

// toclevels = 1..4.
toc: function (toclevels) {

  function getText(el) {
    var text = "";
    for (var i = el.firstChild; i != null; i = i.nextSibling) {
      if (i.nodeType == 3 /* Node.TEXT_NODE */) // IE doesn't speak constants.
        text += i.data;
      else if (i.firstChild != null)
        text += getText(i);
    }
    return text;
  }

  function TocEntry(el, text, toclevel) {
    this.element = el;
    this.text = text;
    this.toclevel = toclevel;
  }

  function tocEntries(el, toclevels) {
    var result = new Array;
    var re = new RegExp('[hH]([1-'+(toclevels+1)+'])');
    // Function that scans the DOM tree for header elements (the DOM2
    // nodeIterator API would be a better technique but not supported by all
    // browsers).
    var iterate = function (el) {
      for (var i = el.firstChild; i != null; i = i.nextSibling) {
        if (i.nodeType == 1 /* Node.ELEMENT_NODE */) {
          var mo = re.exec(i.tagName);
          if (mo && (i.getAttribute("class") || i.getAttribute("className")) != "float") {
            result[result.length] = new TocEntry(i, getText(i), mo[1]-1);
          }
          iterate(i);
        }
      }
    }
    iterate(el);
    return result;
  }

  var toc = document.getElementById("toc");
  if (!toc) {
    return;
  }

  // Delete existing TOC entries in case we're reloading the TOC.
  var tocEntriesToRemove = [];
  var i;
  for (i = 0; i < toc.childNodes.length; i++) {
    var entry = toc.childNodes[i];
    if (entry.nodeName.toLowerCase() == 'div'
     && entry.getAttribute("class")
     && entry.getAttribute("class").match(/^toclevel/))
      tocEntriesToRemove.push(entry);
  }
  for (i = 0; i < tocEntriesToRemove.length; i++) {
    toc.removeChild(tocEntriesToRemove[i]);
  }

  // Rebuild TOC entries.
  var entries = tocEntries(document.getElementById("content"), toclevels);
  for (var i = 0; i < entries.length; ++i) {
    var entry = entries[i];
    if (entry.element.id == "")
      entry.element.id = "_toc_" + i;
    var a = document.createElement("a");
    a.href = "#" + entry.element.id;
    a.appendChild(document.createTextNode(entry.text));
    var div = document.createElement("div");
    div.appendChild(a);
    div.className = "toclevel" + entry.toclevel;
    toc.appendChild(div);
  }
  if (entries.length == 0)
    toc.parentNode.removeChild(toc);
},


/////////////////////////////////////////////////////////////////////
// Footnotes generator
/////////////////////////////////////////////////////////////////////

/* Based on footnote generation code from:
 * http://www.brandspankingnew.net/archive/2005/07/format_footnote.html
 */

footnotes: function () {
  // Delete existing footnote entries in case we're reloading the footnodes.
  var i;
  var noteholder = document.getElementById("footnotes");
  if (!noteholder) {
    return;
  }
  var entriesToRemove = [];
  for (i = 0; i < noteholder.childNodes.length; i++) {
    var entry = noteholder.childNodes[i];
    if (entry.nodeName.toLowerCase() == 'div' && entry.getAttribute("class") == "footnote")
      entriesToRemove.push(entry);
  }
  for (i = 0; i < entriesToRemove.length; i++) {
    noteholder.removeChild(entriesToRemove[i]);
  }

  // Rebuild footnote entries.
  var cont = document.getElementById("content");
  var spans = cont.getElementsByTagName("span");
  var refs = {};
  var n = 0;
  for (i=0; i<spans.length; i++) {
    if (spans[i].className == "footnote") {
      n++;
      var note = spans[i].getAttribute("data-note");
      if (!note) {
        // Use [\s\S] in place of . so multi-line matches work.
        // Because JavaScript has no s (dotall) regex flag.
        note = spans[i].innerHTML.match(/\s*\[([\s\S]*)]\s*/)[1];
        spans[i].innerHTML =
          "[<a id='_footnoteref_" + n + "' href='#_footnote_" + n +
          "' title='View footnote' class='footnote'>" + n + "</a>]";
        spans[i].setAttribute("data-note", note);
      }
      noteholder.innerHTML +=
        "<div class='footnote' id='_footnote_" + n + "'>" +
        "<a href='#_footnoteref_" + n + "' title='Return to text'>" +
        n + "</a>. " + note + "</div>";
      var id =spans[i].getAttribute("id");
      if (id != null) refs["#"+id] = n;
    }
  }
  if (n == 0)
    noteholder.parentNode.removeChild(noteholder);
  else {
    // Process footnoterefs.
    for (i=0; i<spans.length; i++) {
      if (spans[i].className == "footnoteref") {
        var href = spans[i].getElementsByTagName("a")[0].getAttribute("href");
        href = href.match(/#.*/)[0];  // Because IE return full URL.
        n = refs[href];
        spans[i].innerHTML =
          "[<a href='#_footnote_" + n +
          "' title='View footnote' class='footnote'>" + n + "</a>]";
      }
    }
  }
},

install: function(toclevels) {
  var timerId;

  function reinstall() {
    asciidoc.footnotes();
    if (toclevels) {
      asciidoc.toc(toclevels);
    }
  }

  function reinstallAndRemoveTimer() {
    clearInterval(timerId);
    reinstall();
  }

  timerId = setInterval(reinstall, 500);
  if (document.addEventListener)
    document.addEventListener("DOMContentLoaded", reinstallAndRemoveTimer, false);
  else
    window.onload = reinstallAndRemoveTimer;
}

}
asciidoc.install();
/*]]>*/
</script>
</head>
<body class="manpage">
<div id="header">
<h1>
git(1) Manual Page
</h1>
<h2>NAME</h2>
<div class="sectionbody">
<p>git -
   the stupid content tracker
</p>
</div>
</div>
<div id="content">
<div class="sect1">
<h2 id="_synopsis">SYNOPSIS</h2>
<div class="sectionbody">
<div class="verseblock">
<pre class="content"><em>git</em> [-v | --version] [-h | --help] [-C &lt;path&gt;] [-c &lt;name&gt;=&lt;value&gt;]
    [--exec-path[=&lt;path&gt;]] [--html-path] [--man-path] [--info-path]
    [-p|--paginate|-P|--no-pager] [--no-replace-objects] [--bare]
    [--git-dir=&lt;path&gt;] [--work-tree=&lt;path&gt;] [--namespace=&lt;name&gt;]
    [--config-env=&lt;name&gt;=&lt;envvar&gt;] &lt;command&gt; [&lt;args&gt;]</pre>
<div class="attribution">
</div></div>
</div>
</div>
<div class="sect1">
<h2 id="_description">DESCRIPTION</h2>
<div class="sectionbody">
<div class="paragraph"><p>Git is a fast, scalable, distributed revision control system with an
unusually rich command set that provides both high-level operations
and full access to internals.</p></div>
<div class="paragraph"><p>See <a href="gittutorial.html">gittutorial(7)</a> to get started, then see
<a href="giteveryday.html">giteveryday(7)</a> for a useful minimum set of
commands.  The <a href="user-manual.html">Git User&#8217;s Manual</a> has a more
in-depth introduction.</p></div>
<div class="paragraph"><p>After you mastered the basic concepts, you can come back to this
page to learn what commands Git offers.  You can learn more about
individual Git commands with "git help command".  <a href="gitcli.html">gitcli(7)</a>
manual page gives you an overview of the command-line command syntax.</p></div>
<div class="paragraph"><p>A formatted and hyperlinked copy of the latest Git documentation
can be viewed at <a href="https://git.github.io/htmldocs/git.html">https://git.github.io/htmldocs/git.html</a>
or <a href="https://git-scm.com/docs">https://git-scm.com/docs</a>.</p></div>
</div>
</div>
<div class="sect1">
<h2 id="_options">OPTIONS</h2>
<div class="sectionbody">
<div class="dlist"><dl>
<dt class="hdlist1">
-v
</dt>
<dt class="hdlist1">
--version
</dt>
<dd>
<p>
        Prints the Git suite version that the <em>git</em> program came from.
</p>
<div class="paragraph"><p>This option is internally converted to <code>git version ...</code> and accepts
the same options as the <a href="git-version.html">git-version(1)</a> command. If <code>--help</code> is
also given, it takes precedence over <code>--version</code>.</p></div>
</dd>
<dt class="hdlist1">
-h
</dt>
<dt class="hdlist1">
--help
</dt>
<dd>
<p>
        Prints the synopsis and a list of the most commonly used
        commands. If the option <code>--all</code> or <code>-a</code> is given then all
        available commands are printed. If a Git command is named this
        option will bring up the manual page for that command.
</p>
<div class="paragraph"><p>Other options are available to control how the manual page is
displayed. See <a href="git-help.html">git-help(1)</a> for more information,
because <code>git --help ...</code> is converted internally into <code>git
help ...</code>.</p></div>
</dd>
<dt class="hdlist1">
-C &lt;path&gt;
</dt>
<dd>
<p>
        Run as if git was started in <em>&lt;path&gt;</em> instead of the current working
        directory.  When multiple <code>-C</code> options are given, each subsequent
        non-absolute <code>-C &lt;path&gt;</code> is interpreted relative to the preceding <code>-C
        &lt;path&gt;</code>.  If <em>&lt;path&gt;</em> is present but empty, e.g. <code>-C ""</code>, then the
        current working directory is left unchanged.
</p>
<div class="paragraph"><p>This option affects options that expect path name like <code>--git-dir</code> and
<code>--work-tree</code> in that their interpretations of the path names would be
made relative to the working directory caused by the <code>-C</code> option. For
example the following invocations are equivalent:</p></div>
<div class="literalblock">
<div class="content">
<pre><code>git --git-dir=a.git --work-tree=b -C c status
git --git-dir=c/a.git --work-tree=c/b status</code></pre>
</div></div>
</dd>
<dt class="hdlist1">
-c &lt;name&gt;=&lt;value&gt;
</dt>
<dd>
<p>
        Pass a configuration parameter to the command. The value
        given will override values from configuration files.
        The &lt;name&gt; is expected in the same format as listed by
        <em>git config</em> (subkeys separated by dots).
</p>
<div class="paragraph"><p>Note that omitting the <code>=</code> in <code>git -c foo.bar ...</code> is allowed and sets
<code>foo.bar</code> to the boolean true value (just like <code>[foo]bar</code> would in a
config file). Including the equals but with an empty value (like <code>git -c
foo.bar= ...</code>) sets <code>foo.bar</code> to the empty string which <code>git config
--type=bool</code> will convert to <code>false</code>.</p></div>
</dd>
<dt class="hdlist1">
--config-env=&lt;name&gt;=&lt;envvar&gt;
</dt>
<dd>
<p>
        Like <code>-c &lt;name&gt;=&lt;value&gt;</code>, give configuration variable
        <em>&lt;name&gt;</em> a value, where &lt;envvar&gt; is the name of an
        environment variable from which to retrieve the value. Unlike
        <code>-c</code> there is no shortcut for directly setting the value to an
        empty string, instead the environment variable itself must be
        set to the empty string.  It is an error if the <code>&lt;envvar&gt;</code> does not exist
        in the environment. <code>&lt;envvar&gt;</code> may not contain an equals sign
        to avoid ambiguity with <code>&lt;name&gt;</code> containing one.
</p>
<div class="paragraph"><p>This is useful for cases where you want to pass transitory
configuration options to git, but are doing so on operating systems
where other processes might be able to read your command line
(e.g. <code>/proc/self/cmdline</code>), but not your environment
(e.g. <code>/proc/self/environ</code>). That behavior is the default on
Linux, but may not be on your system.</p></div>
<div class="paragraph"><p>Note that this might add security for variables such as
<code>http.extraHeader</code> where the sensitive information is part of
the value, but not e.g. <code>url.&lt;base&gt;.insteadOf</code> where the
sensitive information can be part of the key.</p></div>
</dd>
<dt class="hdlist1">
--exec-path[=&lt;path&gt;]
</dt>
<dd>
<p>
        Path to wherever your core Git programs are installed.
        This can also be controlled by setting the GIT_EXEC_PATH
        environment variable. If no path is given, <em>git</em> will print
        the current setting and then exit.
</p>
</dd>
<dt class="hdlist1">
--html-path
</dt>
<dd>
<p>
        Print the path, without trailing slash, where Git&#8217;s HTML
        documentation is installed and exit.
</p>
</dd>
<dt class="hdlist1">
--man-path
</dt>
<dd>
<p>
        Print the manpath (see <code>man(1)</code>) for the man pages for
        this version of Git and exit.
</p>
</dd>
<dt class="hdlist1">
--info-path
</dt>
<dd>
<p>
        Print the path where the Info files documenting this
        version of Git are installed and exit.
</p>
</dd>
<dt class="hdlist1">
-p
</dt>
<dt class="hdlist1">
--paginate
</dt>
<dd>
<p>
        Pipe all output into <em>less</em> (or if set, $PAGER) if standard
        output is a terminal.  This overrides the <code>pager.&lt;cmd&gt;</code>
        configuration options (see the "Configuration Mechanism" section
        below).
</p>
</dd>
<dt class="hdlist1">
-P
</dt>
<dt class="hdlist1">
--no-pager
</dt>
<dd>
<p>
        Do not pipe Git output into a pager.
</p>
</dd>
<dt class="hdlist1">
--git-dir=&lt;path&gt;
</dt>
<dd>
<p>
        Set the path to the repository (".git" directory). This can also be
        controlled by setting the <code>GIT_DIR</code> environment variable. It can be
        an absolute path or relative path to current working directory.
</p>
<div class="paragraph"><p>Specifying the location of the ".git" directory using this
option (or <code>GIT_DIR</code> environment variable) turns off the
repository discovery that tries to find a directory with
".git" subdirectory (which is how the repository and the
top-level of the working tree are discovered), and tells Git
that you are at the top level of the working tree.  If you
are not at the top-level directory of the working tree, you
should tell Git where the top-level of the working tree is,
with the <code>--work-tree=&lt;path&gt;</code> option (or <code>GIT_WORK_TREE</code>
environment variable)</p></div>
<div class="paragraph"><p>If you just want to run git as if it was started in <code>&lt;path&gt;</code> then use
<code>git -C &lt;path&gt;</code>.</p></div>
</dd>
<dt class="hdlist1">
--work-tree=&lt;path&gt;
</dt>
<dd>
<p>
        Set the path to the working tree. It can be an absolute path
        or a path relative to the current working directory.
        This can also be controlled by setting the GIT_WORK_TREE
        environment variable and the core.worktree configuration
        variable (see core.worktree in <a href="git-config.html">git-config(1)</a> for a
        more detailed discussion).
</p>
</dd>
<dt class="hdlist1">
--namespace=&lt;path&gt;
</dt>
<dd>
<p>
        Set the Git namespace.  See <a href="gitnamespaces.html">gitnamespaces(7)</a> for more
        details.  Equivalent to setting the <code>GIT_NAMESPACE</code> environment
        variable.
</p>
</dd>
<dt class="hdlist1">
--bare
</dt>
<dd>
<p>
        Treat the repository as a bare repository.  If GIT_DIR
        environment is not set, it is set to the current working
        directory.
</p>
</dd>
<dt class="hdlist1">
--no-replace-objects
</dt>
<dd>
<p>
        Do not use replacement refs to replace Git objects.
        This is equivalent to exporting the <code>GIT_NO_REPLACE_OBJECTS</code>
        environment variable with any value.
        See <a href="git-replace.html">git-replace(1)</a> for more information.
</p>
</dd>
<dt class="hdlist1">
--no-lazy-fetch
</dt>
<dd>
<p>
        Do not fetch missing objects from the promisor remote on
        demand.  Useful together with <code>git cat-file -e &lt;object&gt;</code> to
        see if the object is locally available.
        This is equivalent to setting the <code>GIT_NO_LAZY_FETCH</code>
        environment variable to <code>1</code>.
</p>
</dd>
<dt class="hdlist1">
--literal-pathspecs
</dt>
<dd>
<p>
        Treat pathspecs literally (i.e. no globbing, no pathspec magic).
        This is equivalent to setting the <code>GIT_LITERAL_PATHSPECS</code> environment
        variable to <code>1</code>.
</p>
</dd>
<dt class="hdlist1">
--glob-pathspecs
</dt>
<dd>
<p>
        Add "glob" magic to all pathspec. This is equivalent to setting
        the <code>GIT_GLOB_PATHSPECS</code> environment variable to <code>1</code>. Disabling
        globbing on individual pathspecs can be done using pathspec
        magic ":(literal)"
</p>
</dd>
<dt class="hdlist1">
--noglob-pathspecs
</dt>
<dd>
<p>
        Add "literal" magic to all pathspec. This is equivalent to setting
        the <code>GIT_NOGLOB_PATHSPECS</code> environment variable to <code>1</code>. Enabling
        globbing on individual pathspecs can be done using pathspec
        magic ":(glob)"
</p>
</dd>
<dt class="hdlist1">
--icase-pathspecs
</dt>
<dd>
<p>
        Add "icase" magic to all pathspec. This is equivalent to setting
        the <code>GIT_ICASE_PATHSPECS</code> environment variable to <code>1</code>.
</p>
</dd>
<dt class="hdlist1">
--no-optional-locks
</dt>
<dd>
<p>
        Do not perform optional operations that require locks. This is
        equivalent to setting the <code>GIT_OPTIONAL_LOCKS</code> to <code>0</code>.
</p>
</dd>
<dt class="hdlist1">
--list-cmds=&lt;group&gt;[,&lt;group&gt;&#8230;]
</dt>
<dd>
<p>
        List commands by group. This is an internal/experimental
        option and may change or be removed in the future. Supported
        groups are: builtins, parseopt (builtin commands that use
        parse-options), main (all commands in libexec directory),
        others (all other commands in <code>$PATH</code> that have git- prefix),
        list-&lt;category&gt; (see categories in command-list.txt),
        nohelpers (exclude helper commands), alias and config
        (retrieve command list from config variable completion.commands)
</p>
</dd>
<dt class="hdlist1">
--attr-source=&lt;tree-ish&gt;
</dt>
<dd>
<p>
        Read gitattributes from &lt;tree-ish&gt; instead of the worktree. See
        <a href="gitattributes.html">gitattributes(5)</a>. This is equivalent to setting the
        <code>GIT_ATTR_SOURCE</code> environment variable.
</p>
</dd>
</dl></div>
</div>
</div>
<div class="sect1">
<h2 id="_git_commands">GIT COMMANDS</h2>
<div class="sectionbody">
<div class="paragraph"><p>We divide Git into high level ("porcelain") commands and low level
("plumbing") commands.</p></div>
</div>
</div>
<div class="sect1">
<h2 id="_high_level_commands_porcelain">High-level commands (porcelain)</h2>
<div class="sectionbody">
<div class="paragraph"><p>We separate the porcelain commands into the main commands and some
ancillary user utilities.</p></div>
<div class="sect2">
<h3 id="_main_porcelain_commands">Main porcelain commands</h3>
<div class="dlist"><dl>
<dt class="hdlist1">
<a href="git-add.html">git-add(1)</a>
</dt>
<dd>
<p>
        Add file contents to the index.
</p>
</dd>
<dt class="hdlist1">
<a href="git-am.html">git-am(1)</a>
</dt>
<dd>
<p>
        Apply a series of patches from a mailbox.
</p>
</dd>
<dt class="hdlist1">
<a href="git-archive.html">git-archive(1)</a>
</dt>
<dd>
<p>
        Create an archive of files from a named tree.
</p>
</dd>
<dt class="hdlist1">
<a href="git-bisect.html">git-bisect(1)</a>
</dt>
<dd>
<p>
        Use binary search to find the commit that introduced a bug.
</p>
</dd>
<dt class="hdlist1">
<a href="git-branch.html">git-branch(1)</a>
</dt>
<dd>
<p>
        List, create, or delete branches.
</p>
</dd>
<dt class="hdlist1">
<a href="git-bundle.html">git-bundle(1)</a>
</dt>
<dd>
<p>
        Move objects and refs by archive.
</p>
</dd>
<dt class="hdlist1">
<a href="git-checkout.html">git-checkout(1)</a>
</dt>
<dd>
<p>
        Switch branches or restore working tree files.
</p>
</dd>
<dt class="hdlist1">
<a href="git-cherry-pick.html">git-cherry-pick(1)</a>
</dt>
<dd>
<p>
        Apply the changes introduced by some existing commits.
</p>
</dd>
<dt class="hdlist1">
<a href="git-citool.html">git-citool(1)</a>
</dt>
<dd>
<p>
        Graphical alternative to git-commit.
</p>
</dd>
<dt class="hdlist1">
<a href="git-clean.html">git-clean(1)</a>
</dt>
<dd>
<p>
        Remove untracked files from the working tree.
</p>
</dd>
<dt class="hdlist1">
<a href="git-clone.html">git-clone(1)</a>
</dt>
<dd>
<p>
        Clone a repository into a new directory.
</p>
</dd>
<dt class="hdlist1">
<a href="git-commit.html">git-commit(1)</a>
</dt>
<dd>
<p>
        Record changes to the repository.
</p>
</dd>
<dt class="hdlist1">
<a href="git-describe.html">git-describe(1)</a>
</dt>
<dd>
<p>
        Give an object a human readable name based on an available ref.
</p>
</dd>
<dt class="hdlist1">
<a href="git-diff.html">git-diff(1)</a>
</dt>
<dd>
<p>
        Show changes between commits, commit and working tree, etc.
</p>
</dd>
<dt class="hdlist1">
<a href="git-fetch.html">git-fetch(1)</a>
</dt>
<dd>
<p>
        Download objects and refs from another repository.
</p>
</dd>
<dt class="hdlist1">
<a href="git-format-patch.html">git-format-patch(1)</a>
</dt>
<dd>
<p>
        Prepare patches for e-mail submission.
</p>
</dd>
<dt class="hdlist1">
<a href="git-gc.html">git-gc(1)</a>
</dt>
<dd>
<p>
        Cleanup unnecessary files and optimize the local repository.
</p>
</dd>
<dt class="hdlist1">
<a href="git-grep.html">git-grep(1)</a>
</dt>
<dd>
<p>
        Print lines matching a pattern.
</p>
</dd>
<dt class="hdlist1">
<a href="git-gui.html">git-gui(1)</a>
</dt>
<dd>
<p>
        A portable graphical interface to Git.
</p>
</dd>
<dt class="hdlist1">
<a href="git-init.html">git-init(1)</a>
</dt>
<dd>
<p>
        Create an empty Git repository or reinitialize an existing one.
</p>
</dd>
<dt class="hdlist1">
<a href="git-log.html">git-log(1)</a>
</dt>
<dd>
<p>
        Show commit logs.
</p>
</dd>
<dt class="hdlist1">
<a href="git-maintenance.html">git-maintenance(1)</a>
</dt>
<dd>
<p>
        Run tasks to optimize Git repository data.
</p>
</dd>
<dt class="hdlist1">
<a href="git-merge.html">git-merge(1)</a>
</dt>
<dd>
<p>
        Join two or more development histories together.
</p>
</dd>
<dt class="hdlist1">
<a href="git-mv.html">git-mv(1)</a>
</dt>
<dd>
<p>
        Move or rename a file, a directory, or a symlink.
</p>
</dd>
<dt class="hdlist1">
<a href="git-notes.html">git-notes(1)</a>
</dt>
<dd>
<p>
        Add or inspect object notes.
</p>
</dd>
<dt class="hdlist1">
<a href="git-pull.html">git-pull(1)</a>
</dt>
<dd>
<p>
        Fetch from and integrate with another repository or a local branch.
</p>
</dd>
<dt class="hdlist1">
<a href="git-push.html">git-push(1)</a>
</dt>
<dd>
<p>
        Update remote refs along with associated objects.
</p>
</dd>
<dt class="hdlist1">
<a href="git-range-diff.html">git-range-diff(1)</a>
</dt>
<dd>
<p>
        Compare two commit ranges (e.g. two versions of a branch).
</p>
</dd>
<dt class="hdlist1">
<a href="git-rebase.html">git-rebase(1)</a>
</dt>
<dd>
<p>
        Reapply commits on top of another base tip.
</p>
</dd>
<dt class="hdlist1">
<a href="git-reset.html">git-reset(1)</a>
</dt>
<dd>
<p>
        Reset current HEAD to the specified state.
</p>
</dd>
<dt class="hdlist1">
<a href="git-restore.html">git-restore(1)</a>
</dt>
<dd>
<p>
        Restore working tree files.
</p>
</dd>
<dt class="hdlist1">
<a href="git-revert.html">git-revert(1)</a>
</dt>
<dd>
<p>
        Revert some existing commits.
</p>
</dd>
<dt class="hdlist1">
<a href="git-rm.html">git-rm(1)</a>
</dt>
<dd>
<p>
        Remove files from the working tree and from the index.
</p>
</dd>
<dt class="hdlist1">
<a href="git-shortlog.html">git-shortlog(1)</a>
</dt>
<dd>
<p>
        Summarize <em>git log</em> output.
</p>
</dd>
<dt class="hdlist1">
<a href="git-show.html">git-show(1)</a>
</dt>
<dd>
<p>
        Show various types of objects.
</p>
</dd>
<dt class="hdlist1">
<a href="git-sparse-checkout.html">git-sparse-checkout(1)</a>
</dt>
<dd>
<p>
        Reduce your working tree to a subset of tracked files.
</p>
</dd>
<dt class="hdlist1">
<a href="git-stash.html">git-stash(1)</a>
</dt>
<dd>
<p>
        Stash the changes in a dirty working directory away.
</p>
</dd>
<dt class="hdlist1">
<a href="git-status.html">git-status(1)</a>
</dt>
<dd>
<p>
        Show the working tree status.
</p>
</dd>
<dt class="hdlist1">
<a href="git-submodule.html">git-submodule(1)</a>
</dt>
<dd>
<p>
        Initialize, update or inspect submodules.
</p>
</dd>
<dt class="hdlist1">
<a href="git-switch.html">git-switch(1)</a>
</dt>
<dd>
<p>
        Switch branches.
</p>
</dd>
<dt class="hdlist1">
<a href="git-tag.html">git-tag(1)</a>
</dt>
<dd>
<p>
        Create, list, delete or verify a tag object signed with GPG.
</p>
</dd>
<dt class="hdlist1">
<a href="git-worktree.html">git-worktree(1)</a>
</dt>
<dd>
<p>
        Manage multiple working trees.
</p>
</dd>
<dt class="hdlist1">
<a href="gitk.html">gitk(1)</a>
</dt>
<dd>
<p>
        The Git repository browser.
</p>
</dd>
<dt class="hdlist1">
<a href="scalar.html">scalar(1)</a>
</dt>
<dd>
<p>
        A tool for managing large Git repositories.
</p>
</dd>
</dl></div>
</div>
<div class="sect2">
<h3 id="_ancillary_commands">Ancillary Commands</h3>
<div class="paragraph"><p>Manipulators:</p></div>
<div class="dlist"><dl>
<dt class="hdlist1">
<a href="git-config.html">git-config(1)</a>
</dt>
<dd>
<p>
        Get and set repository or global options.
</p>
</dd>
<dt class="hdlist1">
<a href="git-fast-export.html">git-fast-export(1)</a>
</dt>
<dd>
<p>
        Git data exporter.
</p>
</dd>
<dt class="hdlist1">
<a href="git-fast-import.html">git-fast-import(1)</a>
</dt>
<dd>
<p>
        Backend for fast Git data importers.
</p>
</dd>
<dt class="hdlist1">
<a href="git-filter-branch.html">git-filter-branch(1)</a>
</dt>
<dd>
<p>
        Rewrite branches.
</p>
</dd>
<dt class="hdlist1">
<a href="git-mergetool.html">git-mergetool(1)</a>
</dt>
<dd>
<p>
        Run merge conflict resolution tools to resolve merge conflicts.
</p>
</dd>
<dt class="hdlist1">
<a href="git-pack-refs.html">git-pack-refs(1)</a>
</dt>
<dd>
<p>
        Pack heads and tags for efficient repository access.
</p>
</dd>
<dt class="hdlist1">
<a href="git-prune.html">git-prune(1)</a>
</dt>
<dd>
<p>
        Prune all unreachable objects from the object database.
</p>
</dd>
<dt class="hdlist1">
<a href="git-reflog.html">git-reflog(1)</a>
</dt>
<dd>
<p>
        Manage reflog information.
</p>
</dd>
<dt class="hdlist1">
<a href="git-remote.html">git-remote(1)</a>
</dt>
<dd>
<p>
        Manage set of tracked repositories.
</p>
</dd>
<dt class="hdlist1">
<a href="git-repack.html">git-repack(1)</a>
</dt>
<dd>
<p>
        Pack unpacked objects in a repository.
</p>
</dd>
<dt class="hdlist1">
<a href="git-replace.html">git-replace(1)</a>
</dt>
<dd>
<p>
        Create, list, delete refs to replace objects.
</p>
</dd>
</dl></div>
<div class="paragraph"><p>Interrogators:</p></div>
<div class="dlist"><dl>
<dt class="hdlist1">
<a href="git-annotate.html">git-annotate(1)</a>
</dt>
<dd>
<p>
        Annotate file lines with commit information.
</p>
</dd>
<dt class="hdlist1">
<a href="git-blame.html">git-blame(1)</a>
</dt>
<dd>
<p>
        Show what revision and author last modified each line of a file.
</p>
</dd>
<dt class="hdlist1">
<a href="git-bugreport.html">git-bugreport(1)</a>
</dt>
<dd>
<p>
        Collect information for user to file a bug report.
</p>
</dd>
<dt class="hdlist1">
<a href="git-count-objects.html">git-count-objects(1)</a>
</dt>
<dd>
<p>
        Count unpacked number of objects and their disk consumption.
</p>
</dd>
<dt class="hdlist1">
<a href="git-diagnose.html">git-diagnose(1)</a>
</dt>
<dd>
<p>
        Generate a zip archive of diagnostic information.
</p>
</dd>
<dt class="hdlist1">
<a href="git-difftool.html">git-difftool(1)</a>
</dt>
<dd>
<p>
        Show changes using common diff tools.
</p>
</dd>
<dt class="hdlist1">
<a href="git-fsck.html">git-fsck(1)</a>
</dt>
<dd>
<p>
        Verifies the connectivity and validity of the objects in the database.
</p>
</dd>
<dt class="hdlist1">
<a href="git-help.html">git-help(1)</a>
</dt>
<dd>
<p>
        Display help information about Git.
</p>
</dd>
<dt class="hdlist1">
<a href="git-instaweb.html">git-instaweb(1)</a>
</dt>
<dd>
<p>
        Instantly browse your working repository in gitweb.
</p>
</dd>
<dt class="hdlist1">
<a href="git-merge-tree.html">git-merge-tree(1)</a>
</dt>
<dd>
<p>
        Perform merge without touching index or working tree.
</p>
</dd>
<dt class="hdlist1">
<a href="git-rerere.html">git-rerere(1)</a>
</dt>
<dd>
<p>
        Reuse recorded resolution of conflicted merges.
</p>
</dd>
<dt class="hdlist1">
<a href="git-show-branch.html">git-show-branch(1)</a>
</dt>
<dd>
<p>
        Show branches and their commits.
</p>
</dd>
<dt class="hdlist1">
<a href="git-verify-commit.html">git-verify-commit(1)</a>
</dt>
<dd>
<p>
        Check the GPG signature of commits.
</p>
</dd>
<dt class="hdlist1">
<a href="git-verify-tag.html">git-verify-tag(1)</a>
</dt>
<dd>
<p>
        Check the GPG signature of tags.
</p>
</dd>
<dt class="hdlist1">
<a href="git-version.html">git-version(1)</a>
</dt>
<dd>
<p>
        Display version information about Git.
</p>
</dd>
<dt class="hdlist1">
<a href="git-whatchanged.html">git-whatchanged(1)</a>
</dt>
<dd>
<p>
        Show logs with differences each commit introduces.
</p>
</dd>
<dt class="hdlist1">
<a href="gitweb.html">gitweb(1)</a>
</dt>
<dd>
<p>
        Git web interface (web frontend to Git repositories).
</p>
</dd>
</dl></div>
</div>
<div class="sect2">
<h3 id="_interacting_with_others">Interacting with Others</h3>
<div class="paragraph"><p>These commands are to interact with foreign SCM and with other
people via patch over e-mail.</p></div>
<div class="dlist"><dl>
<dt class="hdlist1">
<a href="git-archimport.html">git-archimport(1)</a>
</dt>
<dd>
<p>
        Import a GNU Arch repository into Git.
</p>
</dd>
<dt class="hdlist1">
<a href="git-cvsexportcommit.html">git-cvsexportcommit(1)</a>
</dt>
<dd>
<p>
        Export a single commit to a CVS checkout.
</p>
</dd>
<dt class="hdlist1">
<a href="git-cvsimport.html">git-cvsimport(1)</a>
</dt>
<dd>
<p>
        Salvage your data out of another SCM people love to hate.
</p>
</dd>
<dt class="hdlist1">
<a href="git-cvsserver.html">git-cvsserver(1)</a>
</dt>
<dd>
<p>
        A CVS server emulator for Git.
</p>
</dd>
<dt class="hdlist1">
<a href="git-imap-send.html">git-imap-send(1)</a>
</dt>
<dd>
<p>
        Send a collection of patches from stdin to an IMAP folder.
</p>
</dd>
<dt class="hdlist1">
<a href="git-p4.html">git-p4(1)</a>
</dt>
<dd>
<p>
        Import from and submit to Perforce repositories.
</p>
</dd>
<dt class="hdlist1">
<a href="git-quiltimport.html">git-quiltimport(1)</a>
</dt>
<dd>
<p>
        Applies a quilt patchset onto the current branch.
</p>
</dd>
<dt class="hdlist1">
<a href="git-request-pull.html">git-request-pull(1)</a>
</dt>
<dd>
<p>
        Generates a summary of pending changes.
</p>
</dd>
<dt class="hdlist1">
<a href="git-send-email.html">git-send-email(1)</a>
</dt>
<dd>
<p>
        Send a collection of patches as emails.
</p>
</dd>
<dt class="hdlist1">
<a href="git-svn.html">git-svn(1)</a>
</dt>
<dd>
<p>
        Bidirectional operation between a Subversion repository and Git.
</p>
</dd>
</dl></div>
</div>
<div class="sect2">
<h3 id="_reset_restore_and_revert">Reset, restore and revert</h3>
<div class="paragraph"><p>There are three commands with similar names: <code>git reset</code>,
<code>git restore</code> and <code>git revert</code>.</p></div>
<div class="ulist"><ul>
<li>
<p>
<a href="git-revert.html">git-revert(1)</a> is about making a new commit that reverts the
  changes made by other commits.
</p>
</li>
<li>
<p>
<a href="git-restore.html">git-restore(1)</a> is about restoring files in the working tree
  from either the index or another commit. This command does not
  update your branch. The command can also be used to restore files in
  the index from another commit.
</p>
</li>
<li>
<p>
<a href="git-reset.html">git-reset(1)</a> is about updating your branch, moving the tip
  in order to add or remove commits from the branch. This operation
  changes the commit history.
</p>
<div class="paragraph"><p><code>git reset</code> can also be used to restore the index, overlapping with
<code>git restore</code>.</p></div>
</li>
</ul></div>
</div>
</div>
</div>
<div class="sect1">
<h2 id="_low_level_commands_plumbing">Low-level commands (plumbing)</h2>
<div class="sectionbody">
<div class="paragraph"><p>Although Git includes its
own porcelain layer, its low-level commands are sufficient to support
development of alternative porcelains.  Developers of such porcelains
might start by reading about <a href="git-update-index.html">git-update-index(1)</a> and
<a href="git-read-tree.html">git-read-tree(1)</a>.</p></div>
<div class="paragraph"><p>The interface (input, output, set of options and the semantics)
to these low-level commands are meant to be a lot more stable
than Porcelain level commands, because these commands are
primarily for scripted use.  The interface to Porcelain commands
on the other hand are subject to change in order to improve the
end user experience.</p></div>
<div class="paragraph"><p>The following description divides
the low-level commands into commands that manipulate objects (in
the repository, index, and working tree), commands that interrogate and
compare objects, and commands that move objects and references between
repositories.</p></div>
<div class="sect2">
<h3 id="_manipulation_commands">Manipulation commands</h3>
<div class="dlist"><dl>
<dt class="hdlist1">
<a href="git-apply.html">git-apply(1)</a>
</dt>
<dd>
<p>
        Apply a patch to files and/or to the index.
</p>
</dd>
<dt class="hdlist1">
<a href="git-checkout-index.html">git-checkout-index(1)</a>
</dt>
<dd>
<p>
        Copy files from the index to the working tree.
</p>
</dd>
<dt class="hdlist1">
<a href="git-commit-graph.html">git-commit-graph(1)</a>
</dt>
<dd>
<p>
        Write and verify Git commit-graph files.
</p>
</dd>
<dt class="hdlist1">
<a href="git-commit-tree.html">git-commit-tree(1)</a>
</dt>
<dd>
<p>
        Create a new commit object.
</p>
</dd>
<dt class="hdlist1">
<a href="git-hash-object.html">git-hash-object(1)</a>
</dt>
<dd>
<p>
        Compute object ID and optionally create an object from a file.
</p>
</dd>
<dt class="hdlist1">
<a href="git-index-pack.html">git-index-pack(1)</a>
</dt>
<dd>
<p>
        Build pack index file for an existing packed archive.
</p>
</dd>
<dt class="hdlist1">
<a href="git-merge-file.html">git-merge-file(1)</a>
</dt>
<dd>
<p>
        Run a three-way file merge.
</p>
</dd>
<dt class="hdlist1">
<a href="git-merge-index.html">git-merge-index(1)</a>
</dt>
<dd>
<p>
        Run a merge for files needing merging.
</p>
</dd>
<dt class="hdlist1">
<a href="git-mktag.html">git-mktag(1)</a>
</dt>
<dd>
<p>
        Creates a tag object with extra validation.
</p>
</dd>
<dt class="hdlist1">
<a href="git-mktree.html">git-mktree(1)</a>
</dt>
<dd>
<p>
        Build a tree-object from ls-tree formatted text.
</p>
</dd>
<dt class="hdlist1">
<a href="git-multi-pack-index.html">git-multi-pack-index(1)</a>
</dt>
<dd>
<p>
        Write and verify multi-pack-indexes.
</p>
</dd>
<dt class="hdlist1">
<a href="git-pack-objects.html">git-pack-objects(1)</a>
</dt>
<dd>
<p>
        Create a packed archive of objects.
</p>
</dd>
<dt class="hdlist1">
<a href="git-prune-packed.html">git-prune-packed(1)</a>
</dt>
<dd>
<p>
        Remove extra objects that are already in pack files.
</p>
</dd>
<dt class="hdlist1">
<a href="git-read-tree.html">git-read-tree(1)</a>
</dt>
<dd>
<p>
        Reads tree information into the index.
</p>
</dd>
<dt class="hdlist1">
<a href="git-replay.html">git-replay(1)</a>
</dt>
<dd>
<p>
        EXPERIMENTAL: Replay commits on a new base, works with bare repos too.
</p>
</dd>
<dt class="hdlist1">
<a href="git-symbolic-ref.html">git-symbolic-ref(1)</a>
</dt>
<dd>
<p>
        Read, modify and delete symbolic refs.
</p>
</dd>
<dt class="hdlist1">
<a href="git-unpack-objects.html">git-unpack-objects(1)</a>
</dt>
<dd>
<p>
        Unpack objects from a packed archive.
</p>
</dd>
<dt class="hdlist1">
<a href="git-update-index.html">git-update-index(1)</a>
</dt>
<dd>
<p>
        Register file contents in the working tree to the index.
</p>
</dd>
<dt class="hdlist1">
<a href="git-update-ref.html">git-update-ref(1)</a>
</dt>
<dd>
<p>
        Update the object name stored in a ref safely.
</p>
</dd>
<dt class="hdlist1">
<a href="git-write-tree.html">git-write-tree(1)</a>
</dt>
<dd>
<p>
        Create a tree object from the current index.
</p>
</dd>
</dl></div>
</div>
<div class="sect2">
<h3 id="_interrogation_commands">Interrogation commands</h3>
<div class="dlist"><dl>
<dt class="hdlist1">
<a href="git-cat-file.html">git-cat-file(1)</a>
</dt>
<dd>
<p>
        Provide contents or details of repository objects.
</p>
</dd>
<dt class="hdlist1">
<a href="git-cherry.html">git-cherry(1)</a>
</dt>
<dd>
<p>
        Find commits yet to be applied to upstream.
</p>
</dd>
<dt class="hdlist1">
<a href="git-diff-files.html">git-diff-files(1)</a>
</dt>
<dd>
<p>
        Compares files in the working tree and the index.
</p>
</dd>
<dt class="hdlist1">
<a href="git-diff-index.html">git-diff-index(1)</a>
</dt>
<dd>
<p>
        Compare a tree to the working tree or index.
</p>
</dd>
<dt class="hdlist1">
<a href="git-diff-tree.html">git-diff-tree(1)</a>
</dt>
<dd>
<p>
        Compares the content and mode of blobs found via two tree objects.
</p>
</dd>
<dt class="hdlist1">
<a href="git-for-each-ref.html">git-for-each-ref(1)</a>
</dt>
<dd>
<p>
        Output information on each ref.
</p>
</dd>
<dt class="hdlist1">
<a href="git-for-each-repo.html">git-for-each-repo(1)</a>
</dt>
<dd>
<p>
        Run a Git command on a list of repositories.
</p>
</dd>
<dt class="hdlist1">
<a href="git-get-tar-commit-id.html">git-get-tar-commit-id(1)</a>
</dt>
<dd>
<p>
        Extract commit ID from an archive created using git-archive.
</p>
</dd>
<dt class="hdlist1">
<a href="git-ls-files.html">git-ls-files(1)</a>
</dt>
<dd>
<p>
        Show information about files in the index and the working tree.
</p>
</dd>
<dt class="hdlist1">
<a href="git-ls-remote.html">git-ls-remote(1)</a>
</dt>
<dd>
<p>
        List references in a remote repository.
</p>
</dd>
<dt class="hdlist1">
<a href="git-ls-tree.html">git-ls-tree(1)</a>
</dt>
<dd>
<p>
        List the contents of a tree object.
</p>
</dd>
<dt class="hdlist1">
<a href="git-merge-base.html">git-merge-base(1)</a>
</dt>
<dd>
<p>
        Find as good common ancestors as possible for a merge.
</p>
</dd>
<dt class="hdlist1">
<a href="git-name-rev.html">git-name-rev(1)</a>
</dt>
<dd>
<p>
        Find symbolic names for given revs.
</p>
</dd>
<dt class="hdlist1">
<a href="git-pack-redundant.html">git-pack-redundant(1)</a>
</dt>
<dd>
<p>
        Find redundant pack files.
</p>
</dd>
<dt class="hdlist1">
<a href="git-rev-list.html">git-rev-list(1)</a>
</dt>
<dd>
<p>
        Lists commit objects in reverse chronological order.
</p>
</dd>
<dt class="hdlist1">
<a href="git-rev-parse.html">git-rev-parse(1)</a>
</dt>
<dd>
<p>
        Pick out and massage parameters.
</p>
</dd>
<dt class="hdlist1">
<a href="git-show-index.html">git-show-index(1)</a>
</dt>
<dd>
<p>
        Show packed archive index.
</p>
</dd>
<dt class="hdlist1">
<a href="git-show-ref.html">git-show-ref(1)</a>
</dt>
<dd>
<p>
        List references in a local repository.
</p>
</dd>
<dt class="hdlist1">
<a href="git-unpack-file.html">git-unpack-file(1)</a>
</dt>
<dd>
<p>
        Creates a temporary file with a blob&#8217;s contents.
</p>
</dd>
<dt class="hdlist1">
<a href="git-var.html">git-var(1)</a>
</dt>
<dd>
<p>
        Show a Git logical variable.
</p>
</dd>
<dt class="hdlist1">
<a href="git-verify-pack.html">git-verify-pack(1)</a>
</dt>
<dd>
<p>
        Validate packed Git archive files.
</p>
</dd>
</dl></div>
<div class="paragraph"><p>In general, the interrogate commands do not touch the files in
the working tree.</p></div>
</div>
<div class="sect2">
<h3 id="_syncing_repositories">Syncing repositories</h3>
<div class="dlist"><dl>
<dt class="hdlist1">
<a href="git-daemon.html">git-daemon(1)</a>
</dt>
<dd>
<p>
        A really simple server for Git repositories.
</p>
</dd>
<dt class="hdlist1">
<a href="git-fetch-pack.html">git-fetch-pack(1)</a>
</dt>
<dd>
<p>
        Receive missing objects from another repository.
</p>
</dd>
<dt class="hdlist1">
<a href="git-http-backend.html">git-http-backend(1)</a>
</dt>
<dd>
<p>
        Server side implementation of Git over HTTP.
</p>
</dd>
<dt class="hdlist1">
<a href="git-send-pack.html">git-send-pack(1)</a>
</dt>
<dd>
<p>
        Push objects over Git protocol to another repository.
</p>
</dd>
<dt class="hdlist1">
<a href="git-update-server-info.html">git-update-server-info(1)</a>
</dt>
<dd>
<p>
        Update auxiliary info file to help dumb servers.
</p>
</dd>
</dl></div>
<div class="paragraph"><p>The following are helper commands used by the above; end users
typically do not use them directly.</p></div>
<div class="dlist"><dl>
<dt class="hdlist1">
<a href="git-http-fetch.html">git-http-fetch(1)</a>
</dt>
<dd>
<p>
        Download from a remote Git repository via HTTP.
</p>
</dd>
<dt class="hdlist1">
<a href="git-http-push.html">git-http-push(1)</a>
</dt>
<dd>
<p>
        Push objects over HTTP/DAV to another repository.
</p>
</dd>
<dt class="hdlist1">
<a href="git-receive-pack.html">git-receive-pack(1)</a>
</dt>
<dd>
<p>
        Receive what is pushed into the repository.
</p>
</dd>
<dt class="hdlist1">
<a href="git-shell.html">git-shell(1)</a>
</dt>
<dd>
<p>
        Restricted login shell for Git-only SSH access.
</p>
</dd>
<dt class="hdlist1">
<a href="git-upload-archive.html">git-upload-archive(1)</a>
</dt>
<dd>
<p>
        Send archive back to git-archive.
</p>
</dd>
<dt class="hdlist1">
<a href="git-upload-pack.html">git-upload-pack(1)</a>
</dt>
<dd>
<p>
        Send objects packed back to git-fetch-pack.
</p>
</dd>
</dl></div>
</div>
<div class="sect2">
<h3 id="_internal_helper_commands">Internal helper commands</h3>
<div class="paragraph"><p>These are internal helper commands used by other commands; end
users typically do not use them directly.</p></div>
<div class="dlist"><dl>
<dt class="hdlist1">
<a href="git-check-attr.html">git-check-attr(1)</a>
</dt>
<dd>
<p>
        Display gitattributes information.
</p>
</dd>
<dt class="hdlist1">
<a href="git-check-ignore.html">git-check-ignore(1)</a>
</dt>
<dd>
<p>
        Debug gitignore / exclude files.
</p>
</dd>
<dt class="hdlist1">
<a href="git-check-mailmap.html">git-check-mailmap(1)</a>
</dt>
<dd>
<p>
        Show canonical names and email addresses of contacts.
</p>
</dd>
<dt class="hdlist1">
<a href="git-check-ref-format.html">git-check-ref-format(1)</a>
</dt>
<dd>
<p>
        Ensures that a reference name is well formed.
</p>
</dd>
<dt class="hdlist1">
<a href="git-column.html">git-column(1)</a>
</dt>
<dd>
<p>
        Display data in columns.
</p>
</dd>
<dt class="hdlist1">
<a href="git-credential.html">git-credential(1)</a>
</dt>
<dd>
<p>
        Retrieve and store user credentials.
</p>
</dd>
<dt class="hdlist1">
<a href="git-credential-cache.html">git-credential-cache(1)</a>
</dt>
<dd>
<p>
        Helper to temporarily store passwords in memory.
</p>
</dd>
<dt class="hdlist1">
<a href="git-credential-store.html">git-credential-store(1)</a>
</dt>
<dd>
<p>
        Helper to store credentials on disk.
</p>
</dd>
<dt class="hdlist1">
<a href="git-fmt-merge-msg.html">git-fmt-merge-msg(1)</a>
</dt>
<dd>
<p>
        Produce a merge commit message.
</p>
</dd>
<dt class="hdlist1">
<a href="git-hook.html">git-hook(1)</a>
</dt>
<dd>
<p>
        Run git hooks.
</p>
</dd>
<dt class="hdlist1">
<a href="git-interpret-trailers.html">git-interpret-trailers(1)</a>
</dt>
<dd>
<p>
        Add or parse structured information in commit messages.
</p>
</dd>
<dt class="hdlist1">
<a href="git-mailinfo.html">git-mailinfo(1)</a>
</dt>
<dd>
<p>
        Extracts patch and authorship from a single e-mail message.
</p>
</dd>
<dt class="hdlist1">
<a href="git-mailsplit.html">git-mailsplit(1)</a>
</dt>
<dd>
<p>
        Simple UNIX mbox splitter program.
</p>
</dd>
<dt class="hdlist1">
<a href="git-merge-one-file.html">git-merge-one-file(1)</a>
</dt>
<dd>
<p>
        The standard helper program to use with git-merge-index.
</p>
</dd>
<dt class="hdlist1">
<a href="git-patch-id.html">git-patch-id(1)</a>
</dt>
<dd>
<p>
        Compute unique ID for a patch.
</p>
</dd>
<dt class="hdlist1">
<a href="git-sh-i18n.html">git-sh-i18n(1)</a>
</dt>
<dd>
<p>
        Git&#8217;s i18n setup code for shell scripts.
</p>
</dd>
<dt class="hdlist1">
<a href="git-sh-setup.html">git-sh-setup(1)</a>
</dt>
<dd>
<p>
        Common Git shell script setup code.
</p>
</dd>
<dt class="hdlist1">
<a href="git-stripspace.html">git-stripspace(1)</a>
</dt>
<dd>
<p>
        Remove unnecessary whitespace.
</p>
</dd>
</dl></div>
</div>
</div>
</div>
<div class="sect1">
<h2 id="_guides">Guides</h2>
<div class="sectionbody">
<div class="paragraph"><p>The following documentation pages are guides about Git concepts.</p></div>
<div class="dlist"><dl>
<dt class="hdlist1">
<a href="gitcore-tutorial.html">gitcore-tutorial(7)</a>
</dt>
<dd>
<p>
        A Git core tutorial for developers.
</p>
</dd>
<dt class="hdlist1">
<a href="gitcredentials.html">gitcredentials(7)</a>
</dt>
<dd>
<p>
        Providing usernames and passwords to Git.
</p>
</dd>
<dt class="hdlist1">
<a href="gitcvs-migration.html">gitcvs-migration(7)</a>
</dt>
<dd>
<p>
        Git for CVS users.
</p>
</dd>
<dt class="hdlist1">
<a href="gitdiffcore.html">gitdiffcore(7)</a>
</dt>
<dd>
<p>
        Tweaking diff output.
</p>
</dd>
<dt class="hdlist1">
<a href="giteveryday.html">giteveryday(7)</a>
</dt>
<dd>
<p>
        A useful minimum set of commands for Everyday Git.
</p>
</dd>
<dt class="hdlist1">
<a href="gitfaq.html">gitfaq(7)</a>
</dt>
<dd>
<p>
        Frequently asked questions about using Git.
</p>
</dd>
<dt class="hdlist1">
<a href="gitglossary.html">gitglossary(7)</a>
</dt>
<dd>
<p>
        A Git Glossary.
</p>
</dd>
<dt class="hdlist1">
<a href="gitnamespaces.html">gitnamespaces(7)</a>
</dt>
<dd>
<p>
        Git namespaces.
</p>
</dd>
<dt class="hdlist1">
<a href="gitremote-helpers.html">gitremote-helpers(7)</a>
</dt>
<dd>
<p>
        Helper programs to interact with remote repositories.
</p>
</dd>
<dt class="hdlist1">
<a href="gitsubmodules.html">gitsubmodules(7)</a>
</dt>
<dd>
<p>
        Mounting one repository inside another.
</p>
</dd>
<dt class="hdlist1">
<a href="gittutorial.html">gittutorial(7)</a>
</dt>
<dd>
<p>
        A tutorial introduction to Git.
</p>
</dd>
<dt class="hdlist1">
<a href="gittutorial-2.html">gittutorial-2(7)</a>
</dt>
<dd>
<p>
        A tutorial introduction to Git: part two.
</p>
</dd>
<dt class="hdlist1">
<a href="gitworkflows.html">gitworkflows(7)</a>
</dt>
<dd>
<p>
        An overview of recommended workflows with Git.
</p>
</dd>
</dl></div>
</div>
</div>
<div class="sect1">
<h2 id="_repository_command_and_file_interfaces">Repository, command and file interfaces</h2>
<div class="sectionbody">
<div class="paragraph"><p>This documentation discusses repository and command interfaces which
users are expected to interact with directly. See <code>--user-formats</code> in
<a href="git-help.html">git-help(1)</a> for more details on the criteria.</p></div>
<div class="dlist"><dl>
<dt class="hdlist1">
<a href="gitattributes.html">gitattributes(5)</a>
</dt>
<dd>
<p>
        Defining attributes per path.
</p>
</dd>
<dt class="hdlist1">
<a href="gitcli.html">gitcli(7)</a>
</dt>
<dd>
<p>
        Git command-line interface and conventions.
</p>
</dd>
<dt class="hdlist1">
<a href="githooks.html">githooks(5)</a>
</dt>
<dd>
<p>
        Hooks used by Git.
</p>
</dd>
<dt class="hdlist1">
<a href="gitignore.html">gitignore(5)</a>
</dt>
<dd>
<p>
        Specifies intentionally untracked files to ignore.
</p>
</dd>
<dt class="hdlist1">
<a href="gitmailmap.html">gitmailmap(5)</a>
</dt>
<dd>
<p>
        Map author/committer names and/or E-Mail addresses.
</p>
</dd>
<dt class="hdlist1">
<a href="gitmodules.html">gitmodules(5)</a>
</dt>
<dd>
<p>
        Defining submodule properties.
</p>
</dd>
<dt class="hdlist1">
<a href="gitrepository-layout.html">gitrepository-layout(5)</a>
</dt>
<dd>
<p>
        Git Repository Layout.
</p>
</dd>
<dt class="hdlist1">
<a href="gitrevisions.html">gitrevisions(7)</a>
</dt>
<dd>
<p>
        Specifying revisions and ranges for Git.
</p>
</dd>
</dl></div>
</div>
</div>
<div class="sect1">
<h2 id="_file_formats_protocols_and_other_developer_interfaces">File formats, protocols and other developer interfaces</h2>
<div class="sectionbody">
<div class="paragraph"><p>This documentation discusses file formats, over-the-wire protocols and
other git developer interfaces. See <code>--developer-interfaces</code> in
<a href="git-help.html">git-help(1)</a>.</p></div>
<div class="dlist"><dl>
<dt class="hdlist1">
<a href="gitformat-bundle.html">gitformat-bundle(5)</a>
</dt>
<dd>
<p>
        The bundle file format.
</p>
</dd>
<dt class="hdlist1">
<a href="gitformat-chunk.html">gitformat-chunk(5)</a>
</dt>
<dd>
<p>
        Chunk-based file formats.
</p>
</dd>
<dt class="hdlist1">
<a href="gitformat-commit-graph.html">gitformat-commit-graph(5)</a>
</dt>
<dd>
<p>
        Git commit-graph format.
</p>
</dd>
<dt class="hdlist1">
<a href="gitformat-index.html">gitformat-index(5)</a>
</dt>
<dd>
<p>
        Git index format.
</p>
</dd>
<dt class="hdlist1">
<a href="gitformat-pack.html">gitformat-pack(5)</a>
</dt>
<dd>
<p>
        Git pack format.
</p>
</dd>
<dt class="hdlist1">
<a href="gitformat-signature.html">gitformat-signature(5)</a>
</dt>
<dd>
<p>
        Git cryptographic signature formats.
</p>
</dd>
<dt class="hdlist1">
<a href="gitprotocol-capabilities.html">gitprotocol-capabilities(5)</a>
</dt>
<dd>
<p>
        Protocol v0 and v1 capabilities.
</p>
</dd>
<dt class="hdlist1">
<a href="gitprotocol-common.html">gitprotocol-common(5)</a>
</dt>
<dd>
<p>
        Things common to various protocols.
</p>
</dd>
<dt class="hdlist1">
<a href="gitprotocol-http.html">gitprotocol-http(5)</a>
</dt>
<dd>
<p>
        Git HTTP-based protocols.
</p>
</dd>
<dt class="hdlist1">
<a href="gitprotocol-pack.html">gitprotocol-pack(5)</a>
</dt>
<dd>
<p>
        How packs are transferred over-the-wire.
</p>
</dd>
<dt class="hdlist1">
<a href="gitprotocol-v2.html">gitprotocol-v2(5)</a>
</dt>
<dd>
<p>
        Git Wire Protocol, Version 2.
</p>
</dd>
</dl></div>
</div>
</div>
<div class="sect1">
<h2 id="_configuration_mechanism">Configuration Mechanism</h2>
<div class="sectionbody">
<div class="paragraph"><p>Git uses a simple text format to store customizations that are per
repository and are per user.  Such a configuration file may look
like this:</p></div>
<div class="listingblock">
<div class="content">
<pre><code>#
# A '#' or ';' character indicates a comment.
#

; core variables
[core]
        ; Don't trust file modes
        filemode = false

; user identity
[user]
        name = "Junio C Hamano"
        email = "gitster@pobox.com"</code></pre>
</div></div>
<div class="paragraph"><p>Various commands read from the configuration file and adjust
their operation accordingly.  See <a href="git-config.html">git-config(1)</a> for a
list and more details about the configuration mechanism.</p></div>
</div>
</div>
<div class="sect1">
<h2 id="_identifier_terminology">Identifier Terminology</h2>
<div class="sectionbody">
<div class="dlist"><dl>
<dt class="hdlist1">
&lt;object&gt;
</dt>
<dd>
<p>
        Indicates the object name for any type of object.
</p>
</dd>
<dt class="hdlist1">
&lt;blob&gt;
</dt>
<dd>
<p>
        Indicates a blob object name.
</p>
</dd>
<dt class="hdlist1">
&lt;tree&gt;
</dt>
<dd>
<p>
        Indicates a tree object name.
</p>
</dd>
<dt class="hdlist1">
&lt;commit&gt;
</dt>
<dd>
<p>
        Indicates a commit object name.
</p>
</dd>
<dt class="hdlist1">
&lt;tree-ish&gt;
</dt>
<dd>
<p>
        Indicates a tree, commit or tag object name.  A
        command that takes a &lt;tree-ish&gt; argument ultimately wants to
        operate on a &lt;tree&gt; object but automatically dereferences
        &lt;commit&gt; and &lt;tag&gt; objects that point at a &lt;tree&gt;.
</p>
</dd>
<dt class="hdlist1">
&lt;commit-ish&gt;
</dt>
<dd>
<p>
        Indicates a commit or tag object name.  A
        command that takes a &lt;commit-ish&gt; argument ultimately wants to
        operate on a &lt;commit&gt; object but automatically dereferences
        &lt;tag&gt; objects that point at a &lt;commit&gt;.
</p>
</dd>
<dt class="hdlist1">
&lt;type&gt;
</dt>
<dd>
<p>
        Indicates that an object type is required.
        Currently one of: <code>blob</code>, <code>tree</code>, <code>commit</code>, or <code>tag</code>.
</p>
</dd>
<dt class="hdlist1">
&lt;file&gt;
</dt>
<dd>
<p>
        Indicates a filename - almost always relative to the
        root of the tree structure <code>GIT_INDEX_FILE</code> describes.
</p>
</dd>
</dl></div>
</div>
</div>
<div class="sect1">
<h2 id="_symbolic_identifiers">Symbolic Identifiers</h2>
<div class="sectionbody">
<div class="paragraph"><p>Any Git command accepting any &lt;object&gt; can also use the following
symbolic notation:</p></div>
<div class="dlist"><dl>
<dt class="hdlist1">
HEAD
</dt>
<dd>
<p>
        indicates the head of the current branch.
</p>
</dd>
<dt class="hdlist1">
&lt;tag&gt;
</dt>
<dd>
<p>
        a valid tag <em>name</em>
        (i.e. a <code>refs/tags/&lt;tag&gt;</code> reference).
</p>
</dd>
<dt class="hdlist1">
&lt;head&gt;
</dt>
<dd>
<p>
        a valid head <em>name</em>
        (i.e. a <code>refs/heads/&lt;head&gt;</code> reference).
</p>
</dd>
</dl></div>
<div class="paragraph"><p>For a more complete list of ways to spell object names, see
"SPECIFYING REVISIONS" section in <a href="gitrevisions.html">gitrevisions(7)</a>.</p></div>
</div>
</div>
<div class="sect1">
<h2 id="_file_directory_structure">File/Directory Structure</h2>
<div class="sectionbody">
<div class="paragraph"><p>Please see the <a href="gitrepository-layout.html">gitrepository-layout(5)</a> document.</p></div>
<div class="paragraph"><p>Read <a href="githooks.html">githooks(5)</a> for more details about each hook.</p></div>
<div class="paragraph"><p>Higher level SCMs may provide and manage additional information in the
<code>$GIT_DIR</code>.</p></div>
</div>
</div>
<div class="sect1">
<h2 id="_terminology">Terminology</h2>
<div class="sectionbody">
<div class="paragraph"><p>Please see <a href="gitglossary.html">gitglossary(7)</a>.</p></div>
</div>
</div>
<div class="sect1">
<h2 id="_environment_variables">Environment Variables</h2>
<div class="sectionbody">
<div class="paragraph"><p>Various Git commands pay attention to environment variables and change
their behavior.  The environment variables marked as "Boolean" take
their values the same way as Boolean valued configuration variables, e.g.
"true", "yes", "on" and positive numbers are taken as "yes".</p></div>
<div class="paragraph"><p>Here are the variables:</p></div>
<div class="sect2">
<h3 id="_the_git_repository">The Git Repository</h3>
<div class="paragraph"><p>These environment variables apply to <em>all</em> core Git commands. Nb: it
is worth noting that they may be used/overridden by SCMS sitting above
Git so take care if using a foreign front-end.</p></div>
<div class="dlist"><dl>
<dt class="hdlist1">
<code>GIT_INDEX_FILE</code>
</dt>
<dd>
<p>
        This environment variable specifies an alternate
        index file. If not specified, the default of <code>$GIT_DIR/index</code>
        is used.
</p>
</dd>
<dt class="hdlist1">
<code>GIT_INDEX_VERSION</code>
</dt>
<dd>
<p>
        This environment variable specifies what index version is used
        when writing the index file out.  It won&#8217;t affect existing index
        files.  By default index file version 2 or 3 is used. See
        <a href="git-update-index.html">git-update-index(1)</a> for more information.
</p>
</dd>
<dt class="hdlist1">
<code>GIT_OBJECT_DIRECTORY</code>
</dt>
<dd>
<p>
        If the object storage directory is specified via this
        environment variable then the sha1 directories are created
        underneath - otherwise the default <code>$GIT_DIR/objects</code>
        directory is used.
</p>
</dd>
<dt class="hdlist1">
<code>GIT_ALTERNATE_OBJECT_DIRECTORIES</code>
</dt>
<dd>
<p>
        Due to the immutable nature of Git objects, old objects can be
        archived into shared, read-only directories. This variable
        specifies a ":" separated (on Windows ";" separated) list
        of Git object directories which can be used to search for Git
        objects. New objects will not be written to these directories.
</p>
<div class="paragraph"><p>Entries that begin with <code>"</code> (double-quote) will be interpreted
as C-style quoted paths, removing leading and trailing
double-quotes and respecting backslash escapes. E.g., the value
<code>"path-with-\"-and-:-in-it":vanilla-path</code> has two paths:
<code>path-with-"-and-:-in-it</code> and <code>vanilla-path</code>.</p></div>
</dd>
<dt class="hdlist1">
<code>GIT_DIR</code>
</dt>
<dd>
<p>
        If the <code>GIT_DIR</code> environment variable is set then it
        specifies a path to use instead of the default <code>.git</code>
        for the base of the repository.
        The <code>--git-dir</code> command-line option also sets this value.
</p>
</dd>
<dt class="hdlist1">
<code>GIT_WORK_TREE</code>
</dt>
<dd>
<p>
        Set the path to the root of the working tree.
        This can also be controlled by the <code>--work-tree</code> command-line
        option and the core.worktree configuration variable.
</p>
</dd>
<dt class="hdlist1">
<code>GIT_NAMESPACE</code>
</dt>
<dd>
<p>
        Set the Git namespace; see <a href="gitnamespaces.html">gitnamespaces(7)</a> for details.
        The <code>--namespace</code> command-line option also sets this value.
</p>
</dd>
<dt class="hdlist1">
<code>GIT_CEILING_DIRECTORIES</code>
</dt>
<dd>
<p>
        This should be a colon-separated list of absolute paths.  If
        set, it is a list of directories that Git should not chdir up
        into while looking for a repository directory (useful for
        excluding slow-loading network directories).  It will not
        exclude the current working directory or a GIT_DIR set on the
        command line or in the environment.  Normally, Git has to read
        the entries in this list and resolve any symlink that
        might be present in order to compare them with the current
        directory.  However, if even this access is slow, you
        can add an empty entry to the list to tell Git that the
        subsequent entries are not symlinks and needn&#8217;t be resolved;
        e.g.,
        <code>GIT_CEILING_DIRECTORIES=/maybe/symlink::/very/slow/non/symlink</code>.
</p>
</dd>
<dt class="hdlist1">
<code>GIT_DISCOVERY_ACROSS_FILESYSTEM</code>
</dt>
<dd>
<p>
        When run in a directory that does not have ".git" repository
        directory, Git tries to find such a directory in the parent
        directories to find the top of the working tree, but by default it
        does not cross filesystem boundaries.  This Boolean environment variable
        can be set to true to tell Git not to stop at filesystem
        boundaries.  Like <code>GIT_CEILING_DIRECTORIES</code>, this will not affect
        an explicit repository directory set via <code>GIT_DIR</code> or on the
        command line.
</p>
</dd>
<dt class="hdlist1">
<code>GIT_COMMON_DIR</code>
</dt>
<dd>
<p>
        If this variable is set to a path, non-worktree files that are
        normally in $GIT_DIR will be taken from this path
        instead. Worktree-specific files such as HEAD or index are
        taken from $GIT_DIR. See <a href="gitrepository-layout.html">gitrepository-layout(5)</a> and
        <a href="git-worktree.html">git-worktree(1)</a> for
        details. This variable has lower precedence than other path
        variables such as GIT_INDEX_FILE, GIT_OBJECT_DIRECTORY&#8230;
</p>
</dd>
<dt class="hdlist1">
<code>GIT_DEFAULT_HASH</code>
</dt>
<dd>
<p>
        If this variable is set, the default hash algorithm for new
        repositories will be set to this value. This value is
        ignored when cloning and the setting of the remote repository
        is always used. The default is "sha1".
        See <code>--object-format</code> in <a href="git-init.html">git-init(1)</a>.
</p>
</dd>
<dt class="hdlist1">
<code>GIT_DEFAULT_REF_FORMAT</code>
</dt>
<dd>
<p>
        If this variable is set, the default reference backend format for new
        repositories will be set to this value. The default is "files".
        See <code>--ref-format</code> in <a href="git-init.html">git-init(1)</a>.
</p>
</dd>
</dl></div>
</div>
<div class="sect2">
<h3 id="_git_commits">Git Commits</h3>
<div class="dlist"><dl>
<dt class="hdlist1">
<code>GIT_AUTHOR_NAME</code>
</dt>
<dd>
<p>
        The human-readable name used in the author identity when creating commit or
        tag objects, or when writing reflogs. Overrides the <code>user.name</code> and
        <code>author.name</code> configuration settings.
</p>
</dd>
<dt class="hdlist1">
<code>GIT_AUTHOR_EMAIL</code>
</dt>
<dd>
<p>
        The email address used in the author identity when creating commit or
        tag objects, or when writing reflogs. Overrides the <code>user.email</code> and
        <code>author.email</code> configuration settings.
</p>
</dd>
<dt class="hdlist1">
<code>GIT_AUTHOR_DATE</code>
</dt>
<dd>
<p>
        The date used for the author identity when creating commit or tag objects, or
        when writing reflogs. See <a href="git-commit.html">git-commit(1)</a> for valid formats.
</p>
</dd>
<dt class="hdlist1">
<code>GIT_COMMITTER_NAME</code>
</dt>
<dd>
<p>
        The human-readable name used in the committer identity when creating commit or
        tag objects, or when writing reflogs. Overrides the <code>user.name</code> and
        <code>committer.name</code> configuration settings.
</p>
</dd>
<dt class="hdlist1">
<code>GIT_COMMITTER_EMAIL</code>
</dt>
<dd>
<p>
        The email address used in the author identity when creating commit or
        tag objects, or when writing reflogs. Overrides the <code>user.email</code> and
        <code>committer.email</code> configuration settings.
</p>
</dd>
<dt class="hdlist1">
<code>GIT_COMMITTER_DATE</code>
</dt>
<dd>
<p>
        The date used for the committer identity when creating commit or tag objects, or
        when writing reflogs. See <a href="git-commit.html">git-commit(1)</a> for valid formats.
</p>
</dd>
<dt class="hdlist1">
<code>EMAIL</code>
</dt>
<dd>
<p>
        The email address used in the author and committer identities if no other
        relevant environment variable or configuration setting has been set.
</p>
</dd>
</dl></div>
</div>
<div class="sect2">
<h3 id="_git_diffs">Git Diffs</h3>
<div class="dlist"><dl>
<dt class="hdlist1">
<code>GIT_DIFF_OPTS</code>
</dt>
<dd>
<p>
        Only valid setting is "--unified=??" or "-u??" to set the
        number of context lines shown when a unified diff is created.
        This takes precedence over any "-U" or "--unified" option
        value passed on the Git diff command line.
</p>
</dd>
<dt class="hdlist1">
<code>GIT_EXTERNAL_DIFF</code>
</dt>
<dd>
<p>
        When the environment variable <code>GIT_EXTERNAL_DIFF</code> is set, the
        program named by it is called to generate diffs, and Git
        does not use its builtin diff machinery.
        For a path that is added, removed, or modified,
        <code>GIT_EXTERNAL_DIFF</code> is called with 7 parameters:
</p>
<div class="literalblock">
<div class="content">
<pre><code>path old-file old-hex old-mode new-file new-hex new-mode</code></pre>
</div></div>
<div class="paragraph"><p>where:</p></div>
</dd>
<dt class="hdlist1">
&lt;old|new&gt;-file
</dt>
<dd>
<p>
are files GIT_EXTERNAL_DIFF can use to read the
                         contents of &lt;old|new&gt;,
</p>
</dd>
<dt class="hdlist1">
&lt;old|new&gt;-hex
</dt>
<dd>
<p>
are the 40-hexdigit SHA-1 hashes,
</p>
</dd>
<dt class="hdlist1">
&lt;old|new&gt;-mode
</dt>
<dd>
<p>
are the octal representation of the file modes.
</p>
<div class="paragraph"><p>The file parameters can point at the user&#8217;s working file
(e.g. <code>new-file</code> in "git-diff-files"), <code>/dev/null</code> (e.g. <code>old-file</code>
when a new file is added), or a temporary file (e.g. <code>old-file</code> in the
index).  <code>GIT_EXTERNAL_DIFF</code> should not worry about unlinking the
temporary file&#8201;&#8212;&#8201;it is removed when <code>GIT_EXTERNAL_DIFF</code> exits.</p></div>
<div class="paragraph"><p>For a path that is unmerged, <code>GIT_EXTERNAL_DIFF</code> is called with 1
parameter, &lt;path&gt;.</p></div>
<div class="paragraph"><p>For each path <code>GIT_EXTERNAL_DIFF</code> is called, two environment variables,
<code>GIT_DIFF_PATH_COUNTER</code> and <code>GIT_DIFF_PATH_TOTAL</code> are set.</p></div>
</dd>
<dt class="hdlist1">
<code>GIT_DIFF_PATH_COUNTER</code>
</dt>
<dd>
<p>
        A 1-based counter incremented by one for every path.
</p>
</dd>
<dt class="hdlist1">
<code>GIT_DIFF_PATH_TOTAL</code>
</dt>
<dd>
<p>
        The total number of paths.
</p>
</dd>
</dl></div>
</div>
<div class="sect2">
<h3 id="_other">other</h3>
<div class="dlist"><dl>
<dt class="hdlist1">
<code>GIT_MERGE_VERBOSITY</code>
</dt>
<dd>
<p>
        A number controlling the amount of output shown by
        the recursive merge strategy.  Overrides merge.verbosity.
        See <a href="git-merge.html">git-merge(1)</a>
</p>
</dd>
<dt class="hdlist1">
<code>GIT_PAGER</code>
</dt>
<dd>
<p>
        This environment variable overrides <code>$PAGER</code>. If it is set
        to an empty string or to the value "cat", Git will not launch
        a pager.  See also the <code>core.pager</code> option in
        <a href="git-config.html">git-config(1)</a>.
</p>
</dd>
<dt class="hdlist1">
<code>GIT_PROGRESS_DELAY</code>
</dt>
<dd>
<p>
        A number controlling how many seconds to delay before showing
        optional progress indicators. Defaults to 2.
</p>
</dd>
<dt class="hdlist1">
<code>GIT_EDITOR</code>
</dt>
<dd>
<p>
        This environment variable overrides <code>$EDITOR</code> and <code>$VISUAL</code>.
        It is used by several Git commands when, on interactive mode,
        an editor is to be launched. See also <a href="git-var.html">git-var(1)</a>
        and the <code>core.editor</code> option in <a href="git-config.html">git-config(1)</a>.
</p>
</dd>
<dt class="hdlist1">
<code>GIT_SEQUENCE_EDITOR</code>
</dt>
<dd>
<p>
        This environment variable overrides the configured Git editor
        when editing the todo list of an interactive rebase. See also
        <a href="git-rebase.html">git-rebase(1)</a> and the <code>sequence.editor</code> option in
        <a href="git-config.html">git-config(1)</a>.
</p>
</dd>
<dt class="hdlist1">
<code>GIT_SSH</code>
</dt>
<dt class="hdlist1">
<code>GIT_SSH_COMMAND</code>
</dt>
<dd>
<p>
        If either of these environment variables is set then <em>git fetch</em>
        and <em>git push</em> will use the specified command instead of <em>ssh</em>
        when they need to connect to a remote system.
        The command-line parameters passed to the configured command are
        determined by the ssh variant.  See <code>ssh.variant</code> option in
        <a href="git-config.html">git-config(1)</a> for details.
</p>
<div class="paragraph"><p><code>$GIT_SSH_COMMAND</code> takes precedence over <code>$GIT_SSH</code>, and is interpreted
by the shell, which allows additional arguments to be included.
<code>$GIT_SSH</code> on the other hand must be just the path to a program
(which can be a wrapper shell script, if additional arguments are
needed).</p></div>
<div class="paragraph"><p>Usually it is easier to configure any desired options through your
personal <code>.ssh/config</code> file.  Please consult your ssh documentation
for further details.</p></div>
</dd>
<dt class="hdlist1">
<code>GIT_SSH_VARIANT</code>
</dt>
<dd>
<p>
        If this environment variable is set, it overrides Git&#8217;s autodetection
        whether <code>GIT_SSH</code>/<code>GIT_SSH_COMMAND</code>/<code>core.sshCommand</code> refer to OpenSSH,
        plink or tortoiseplink. This variable overrides the config setting
        <code>ssh.variant</code> that serves the same purpose.
</p>
</dd>
<dt class="hdlist1">
<code>GIT_SSL_NO_VERIFY</code>
</dt>
<dd>
<p>
        Setting and exporting this environment variable to any value
        tells Git not to verify the SSL certificate when fetching or
        pushing over HTTPS.
</p>
</dd>
<dt class="hdlist1">
<code>GIT_ATTR_SOURCE</code>
</dt>
<dd>
<p>
        Sets the treeish that gitattributes will be read from.
</p>
</dd>
<dt class="hdlist1">
<code>GIT_ASKPASS</code>
</dt>
<dd>
<p>
        If this environment variable is set, then Git commands which need to
        acquire passwords or passphrases (e.g. for HTTP or IMAP authentication)
        will call this program with a suitable prompt as command-line argument
        and read the password from its STDOUT. See also the <code>core.askPass</code>
        option in <a href="git-config.html">git-config(1)</a>.
</p>
</dd>
<dt class="hdlist1">
<code>GIT_TERMINAL_PROMPT</code>
</dt>
<dd>
<p>
        If this Boolean environment variable is set to false, git will not prompt
        on the terminal (e.g., when asking for HTTP authentication).
</p>
</dd>
<dt class="hdlist1">
<code>GIT_CONFIG_GLOBAL</code>
</dt>
<dt class="hdlist1">
<code>GIT_CONFIG_SYSTEM</code>
</dt>
<dd>
<p>
        Take the configuration from the given files instead from global or
        system-level configuration files. If <code>GIT_CONFIG_SYSTEM</code> is set, the
        system config file defined at build time (usually <code>/etc/gitconfig</code>)
        will not be read. Likewise, if <code>GIT_CONFIG_GLOBAL</code> is set, neither
        <code>$HOME/.gitconfig</code> nor <code>$XDG_CONFIG_HOME/git/config</code> will be read. Can
        be set to <code>/dev/null</code> to skip reading configuration files of the
        respective level.
</p>
</dd>
<dt class="hdlist1">
<code>GIT_CONFIG_NOSYSTEM</code>
</dt>
<dd>
<p>
        Whether to skip reading settings from the system-wide
        <code>$(prefix)/etc/gitconfig</code> file.  This Boolean environment variable can
        be used along with <code>$HOME</code> and <code>$XDG_CONFIG_HOME</code> to create a
        predictable environment for a picky script, or you can set it
        to true to temporarily avoid using a buggy <code>/etc/gitconfig</code> file while
        waiting for someone with sufficient permissions to fix it.
</p>
</dd>
<dt class="hdlist1">
<code>GIT_FLUSH</code>
</dt>
<dd>
<p>
        If this Boolean environment variable is set to true, then commands such
        as <em>git blame</em> (in incremental mode), <em>git rev-list</em>, <em>git log</em>,
        <em>git check-attr</em> and <em>git check-ignore</em> will
        force a flush of the output stream after each record have been
        flushed. If this
        variable is set to false, the output of these commands will be done
        using completely buffered I/O.   If this environment variable is
        not set, Git will choose buffered or record-oriented flushing
        based on whether stdout appears to be redirected to a file or not.
</p>
</dd>
<dt class="hdlist1">
<code>GIT_TRACE</code>
</dt>
<dd>
<p>
        Enables general trace messages, e.g. alias expansion, built-in
        command execution and external command execution.
</p>
<div class="paragraph"><p>If this variable is set to "1", "2" or "true" (comparison
is case insensitive), trace messages will be printed to
stderr.</p></div>
<div class="paragraph"><p>If the variable is set to an integer value greater than 2
and lower than 10 (strictly) then Git will interpret this
value as an open file descriptor and will try to write the
trace messages into this file descriptor.</p></div>
<div class="paragraph"><p>Alternatively, if the variable is set to an absolute path
(starting with a <em>/</em> character), Git will interpret this
as a file path and will try to append the trace messages
to it.</p></div>
<div class="paragraph"><p>Unsetting the variable, or setting it to empty, "0" or
"false" (case insensitive) disables trace messages.</p></div>
</dd>
<dt class="hdlist1">
<code>GIT_TRACE_FSMONITOR</code>
</dt>
<dd>
<p>
        Enables trace messages for the filesystem monitor extension.
        See <code>GIT_TRACE</code> for available trace output options.
</p>
</dd>
<dt class="hdlist1">
<code>GIT_TRACE_PACK_ACCESS</code>
</dt>
<dd>
<p>
        Enables trace messages for all accesses to any packs. For each
        access, the pack file name and an offset in the pack is
        recorded. This may be helpful for troubleshooting some
        pack-related performance problems.
        See <code>GIT_TRACE</code> for available trace output options.
</p>
</dd>
<dt class="hdlist1">
<code>GIT_TRACE_PACKET</code>
</dt>
<dd>
<p>
        Enables trace messages for all packets coming in or out of a
        given program. This can help with debugging object negotiation
        or other protocol issues. Tracing is turned off at a packet
        starting with "PACK" (but see <code>GIT_TRACE_PACKFILE</code> below).
        See <code>GIT_TRACE</code> for available trace output options.
</p>
</dd>
<dt class="hdlist1">
<code>GIT_TRACE_PACKFILE</code>
</dt>
<dd>
<p>
        Enables tracing of packfiles sent or received by a
        given program. Unlike other trace output, this trace is
        verbatim: no headers, and no quoting of binary data. You almost
        certainly want to direct into a file (e.g.,
        <code>GIT_TRACE_PACKFILE=/tmp/my.pack</code>) rather than displaying it on
        the terminal or mixing it with other trace output.
</p>
<div class="paragraph"><p>Note that this is currently only implemented for the client side
of clones and fetches.</p></div>
</dd>
<dt class="hdlist1">
<code>GIT_TRACE_PERFORMANCE</code>
</dt>
<dd>
<p>
        Enables performance related trace messages, e.g. total execution
        time of each Git command.
        See <code>GIT_TRACE</code> for available trace output options.
</p>
</dd>
<dt class="hdlist1">
<code>GIT_TRACE_REFS</code>
</dt>
<dd>
<p>
        Enables trace messages for operations on the ref database.
        See <code>GIT_TRACE</code> for available trace output options.
</p>
</dd>
<dt class="hdlist1">
<code>GIT_TRACE_SETUP</code>
</dt>
<dd>
<p>
        Enables trace messages printing the .git, working tree and current
        working directory after Git has completed its setup phase.
        See <code>GIT_TRACE</code> for available trace output options.
</p>
</dd>
<dt class="hdlist1">
<code>GIT_TRACE_SHALLOW</code>
</dt>
<dd>
<p>
        Enables trace messages that can help debugging fetching /
        cloning of shallow repositories.
        See <code>GIT_TRACE</code> for available trace output options.
</p>
</dd>
<dt class="hdlist1">
<code>GIT_TRACE_CURL</code>
</dt>
<dd>
<p>
        Enables a curl full trace dump of all incoming and outgoing data,
        including descriptive information, of the git transport protocol.
        This is similar to doing curl <code>--trace-ascii</code> on the command line.
        See <code>GIT_TRACE</code> for available trace output options.
</p>
</dd>
<dt class="hdlist1">
<code>GIT_TRACE_CURL_NO_DATA</code>
</dt>
<dd>
<p>
        When a curl trace is enabled (see <code>GIT_TRACE_CURL</code> above), do not dump
        data (that is, only dump info lines and headers).
</p>
</dd>
<dt class="hdlist1">
<code>GIT_TRACE2</code>
</dt>
<dd>
<p>
        Enables more detailed trace messages from the "trace2" library.
        Output from <code>GIT_TRACE2</code> is a simple text-based format for human
        readability.
</p>
<div class="paragraph"><p>If this variable is set to "1", "2" or "true" (comparison
is case insensitive), trace messages will be printed to
stderr.</p></div>
<div class="paragraph"><p>If the variable is set to an integer value greater than 2
and lower than 10 (strictly) then Git will interpret this
value as an open file descriptor and will try to write the
trace messages into this file descriptor.</p></div>
<div class="paragraph"><p>Alternatively, if the variable is set to an absolute path
(starting with a <em>/</em> character), Git will interpret this
as a file path and will try to append the trace messages
to it.  If the path already exists and is a directory, the
trace messages will be written to files (one per process)
in that directory, named according to the last component
of the SID and an optional counter (to avoid filename
collisions).</p></div>
<div class="paragraph"><p>In addition, if the variable is set to
<code>af_unix:[&lt;socket-type&gt;:]&lt;absolute-pathname&gt;</code>, Git will try
to open the path as a Unix Domain Socket.  The socket type
can be either <code>stream</code> or <code>dgram</code>.</p></div>
<div class="paragraph"><p>Unsetting the variable, or setting it to empty, "0" or
"false" (case insensitive) disables trace messages.</p></div>
<div class="paragraph"><p>See <a href="technical/api-trace2.html">Trace2 documentation</a>
for full details.</p></div>
</dd>
<dt class="hdlist1">
<code>GIT_TRACE2_EVENT</code>
</dt>
<dd>
<p>
        This setting writes a JSON-based format that is suited for machine
        interpretation.
        See <code>GIT_TRACE2</code> for available trace output options and
        <a href="technical/api-trace2.html">Trace2 documentation</a> for full details.
</p>
</dd>
<dt class="hdlist1">
<code>GIT_TRACE2_PERF</code>
</dt>
<dd>
<p>
        In addition to the text-based messages available in <code>GIT_TRACE2</code>, this
        setting writes a column-based format for understanding nesting
        regions.
        See <code>GIT_TRACE2</code> for available trace output options and
        <a href="technical/api-trace2.html">Trace2 documentation</a> for full details.
</p>
</dd>
<dt class="hdlist1">
<code>GIT_TRACE_REDACT</code>
</dt>
<dd>
<p>
        By default, when tracing is activated, Git redacts the values of
        cookies, the "Authorization:" header, the "Proxy-Authorization:"
        header and packfile URIs. Set this Boolean environment variable to false to prevent this
        redaction.
</p>
</dd>
<dt class="hdlist1">
<code>GIT_NO_REPLACE_OBJECTS</code>
</dt>
<dd>
<p>
        Setting and exporting this environment variable tells Git to
        ignore replacement refs and do not replace Git objects.
</p>
</dd>
<dt class="hdlist1">
<code>GIT_LITERAL_PATHSPECS</code>
</dt>
<dd>
<p>
        Setting this Boolean environment variable to true will cause Git to treat all
        pathspecs literally, rather than as glob patterns. For example,
        running <code>GIT_LITERAL_PATHSPECS=1 git log -- '*.c'</code> will search
        for commits that touch the path <code>*.c</code>, not any paths that the
        glob <code>*.c</code> matches. You might want this if you are feeding
        literal paths to Git (e.g., paths previously given to you by
        <code>git ls-tree</code>, <code>--raw</code> diff output, etc).
</p>
</dd>
<dt class="hdlist1">
<code>GIT_GLOB_PATHSPECS</code>
</dt>
<dd>
<p>
        Setting this Boolean environment variable to true will cause Git to treat all
        pathspecs as glob patterns (aka "glob" magic).
</p>
</dd>
<dt class="hdlist1">
<code>GIT_NOGLOB_PATHSPECS</code>
</dt>
<dd>
<p>
        Setting this Boolean environment variable to true will cause Git to treat all
        pathspecs as literal (aka "literal" magic).
</p>
</dd>
<dt class="hdlist1">
<code>GIT_ICASE_PATHSPECS</code>
</dt>
<dd>
<p>
        Setting this Boolean environment variable to true will cause Git to treat all
        pathspecs as case-insensitive.
</p>
</dd>
<dt class="hdlist1">
<code>GIT_NO_LAZY_FETCH</code>
</dt>
<dd>
<p>
        Setting this Boolean environment variable to true tells Git
        not to lazily fetch missing objects from the promisor remote
        on demand.
</p>
</dd>
<dt class="hdlist1">
<code>GIT_REFLOG_ACTION</code>
</dt>
<dd>
<p>
        When a ref is updated, reflog entries are created to keep
        track of the reason why the ref was updated (which is
        typically the name of the high-level command that updated
        the ref), in addition to the old and new values of the ref.
        A scripted Porcelain command can use set_reflog_action
        helper function in <code>git-sh-setup</code> to set its name to this
        variable when it is invoked as the top level command by the
        end user, to be recorded in the body of the reflog.
</p>
</dd>
<dt class="hdlist1">
<code>GIT_REF_PARANOIA</code>
</dt>
<dd>
<p>
        If this Boolean environment variable is set to false, ignore broken or badly named refs when iterating
        over lists of refs. Normally Git will try to include any such
        refs, which may cause some operations to fail. This is usually
        preferable, as potentially destructive operations (e.g.,
        <a href="git-prune.html">git-prune(1)</a>) are better off aborting rather than
        ignoring broken refs (and thus considering the history they
        point to as not worth saving). The default value is <code>1</code> (i.e.,
        be paranoid about detecting and aborting all operations). You
        should not normally need to set this to <code>0</code>, but it may be
        useful when trying to salvage data from a corrupted repository.
</p>
</dd>
<dt class="hdlist1">
<code>GIT_COMMIT_GRAPH_PARANOIA</code>
</dt>
<dd>
<p>
        When loading a commit object from the commit-graph, Git performs an
        existence check on the object in the object database. This is done to
        avoid issues with stale commit-graphs that contain references to
        already-deleted commits, but comes with a performance penalty.
</p>
<div class="paragraph"><p>The default is "false", which disables the aforementioned behavior.
Setting this to "true" enables the existence check so that stale commits
will never be returned from the commit-graph at the cost of performance.</p></div>
</dd>
<dt class="hdlist1">
<code>GIT_ALLOW_PROTOCOL</code>
</dt>
<dd>
<p>
        If set to a colon-separated list of protocols, behave as if
        <code>protocol.allow</code> is set to <code>never</code>, and each of the listed
        protocols has <code>protocol.&lt;name&gt;.allow</code> set to <code>always</code>
        (overriding any existing configuration). See the description of
        <code>protocol.allow</code> in <a href="git-config.html">git-config(1)</a> for more details.
</p>
</dd>
<dt class="hdlist1">
<code>GIT_PROTOCOL_FROM_USER</code>
</dt>
<dd>
<p>
        Set this Boolean environment variable to false to prevent protocols used by fetch/push/clone which are
        configured to the <code>user</code> state.  This is useful to restrict recursive
        submodule initialization from an untrusted repository or for programs
        which feed potentially-untrusted URLS to git commands.  See
        <a href="git-config.html">git-config(1)</a> for more details.
</p>
</dd>
<dt class="hdlist1">
<code>GIT_PROTOCOL</code>
</dt>
<dd>
<p>
        For internal use only.  Used in handshaking the wire protocol.
        Contains a colon <em>:</em> separated list of keys with optional values
        <em>&lt;key&gt;[=&lt;value&gt;]</em>.  Presence of unknown keys and values must be
        ignored.
</p>
<div class="paragraph"><p>Note that servers may need to be configured to allow this variable to
pass over some transports. It will be propagated automatically when
accessing local repositories (i.e., <code>file://</code> or a filesystem path), as
well as over the <code>git://</code> protocol. For git-over-http, it should work
automatically in most configurations, but see the discussion in
<a href="git-http-backend.html">git-http-backend(1)</a>. For git-over-ssh, the ssh server may need
to be configured to allow clients to pass this variable (e.g., by using
<code>AcceptEnv GIT_PROTOCOL</code> with OpenSSH).</p></div>
<div class="paragraph"><p>This configuration is optional. If the variable is not propagated, then
clients will fall back to the original "v0" protocol (but may miss out
on some performance improvements or features). This variable currently
only affects clones and fetches; it is not yet used for pushes (but may
be in the future).</p></div>
</dd>
<dt class="hdlist1">
<code>GIT_OPTIONAL_LOCKS</code>
</dt>
<dd>
<p>
        If this Boolean environment variable is set to false, Git will complete any requested operation without
        performing any optional sub-operations that require taking a lock.
        For example, this will prevent <code>git status</code> from refreshing the
        index as a side effect. This is useful for processes running in
        the background which do not want to cause lock contention with
        other operations on the repository.  Defaults to <code>1</code>.
</p>
</dd>
<dt class="hdlist1">
<code>GIT_REDIRECT_STDIN</code>
</dt>
<dt class="hdlist1">
<code>GIT_REDIRECT_STDOUT</code>
</dt>
<dt class="hdlist1">
<code>GIT_REDIRECT_STDERR</code>
</dt>
<dd>
<p>
        Windows-only: allow redirecting the standard input/output/error
        handles to paths specified by the environment variables. This is
        particularly useful in multi-threaded applications where the
        canonical way to pass standard handles via <code>CreateProcess()</code> is
        not an option because it would require the handles to be marked
        inheritable (and consequently <strong>every</strong> spawned process would
        inherit them, possibly blocking regular Git operations). The
        primary intended use case is to use named pipes for communication
        (e.g. <code>\\.\pipe\my-git-stdin-123</code>).
</p>
<div class="paragraph"><p>Two special values are supported: <code>off</code> will simply close the
corresponding standard handle, and if <code>GIT_REDIRECT_STDERR</code> is
<code>2&gt;&amp;1</code>, standard error will be redirected to the same handle as
standard output.</p></div>
</dd>
<dt class="hdlist1">
<code>GIT_PRINT_SHA1_ELLIPSIS</code> (deprecated)
</dt>
<dd>
<p>
        If set to <code>yes</code>, print an ellipsis following an
        (abbreviated) SHA-1 value.  This affects indications of
        detached HEADs (<a href="git-checkout.html">git-checkout(1)</a>) and the raw
        diff output (<a href="git-diff.html">git-diff(1)</a>).  Printing an
        ellipsis in the cases mentioned is no longer considered
        adequate and support for it is likely to be removed in the
        foreseeable future (along with the variable).
</p>
</dd>
</dl></div>
</div>
</div>
</div>
<div class="sect1">
<h2 id="_discussion_a_id_discussion_a">Discussion<a id="Discussion"></a></h2>
<div class="sectionbody">
<div class="paragraph"><p>More detail on the following is available from the
<a href="user-manual.html#git-concepts">Git concepts chapter of the
user-manual</a> and <a href="gitcore-tutorial.html">gitcore-tutorial(7)</a>.</p></div>
<div class="paragraph"><p>A Git project normally consists of a working directory with a ".git"
subdirectory at the top level.  The .git directory contains, among other
things, a compressed object database representing the complete history
of the project, an "index" file which links that history to the current
contents of the working tree, and named pointers into that history such
as tags and branch heads.</p></div>
<div class="paragraph"><p>The object database contains objects of three main types: blobs, which
hold file data; trees, which point to blobs and other trees to build up
directory hierarchies; and commits, which each reference a single tree
and some number of parent commits.</p></div>
<div class="paragraph"><p>The commit, equivalent to what other systems call a "changeset" or
"version", represents a step in the project&#8217;s history, and each parent
represents an immediately preceding step.  Commits with more than one
parent represent merges of independent lines of development.</p></div>
<div class="paragraph"><p>All objects are named by the SHA-1 hash of their contents, normally
written as a string of 40 hex digits.  Such names are globally unique.
The entire history leading up to a commit can be vouched for by signing
just that commit.  A fourth object type, the tag, is provided for this
purpose.</p></div>
<div class="paragraph"><p>When first created, objects are stored in individual files, but for
efficiency may later be compressed together into "pack files".</p></div>
<div class="paragraph"><p>Named pointers called refs mark interesting points in history.  A ref
may contain the SHA-1 name of an object or the name of another ref (the
latter is called a "symbolic ref").
Refs with names beginning <code>refs/head/</code> contain the SHA-1 name of the most
recent commit (or "head") of a branch under development.  SHA-1 names of
tags of interest are stored under <code>refs/tags/</code>.  A symbolic ref named
<code>HEAD</code> contains the name of the currently checked-out branch.</p></div>
<div class="paragraph"><p>The index file is initialized with a list of all paths and, for each
path, a blob object and a set of attributes.  The blob object represents
the contents of the file as of the head of the current branch.  The
attributes (last modified time, size, etc.) are taken from the
corresponding file in the working tree.  Subsequent changes to the
working tree can be found by comparing these attributes.  The index may
be updated with new content, and new commits may be created from the
content stored in the index.</p></div>
<div class="paragraph"><p>The index is also capable of storing multiple entries (called "stages")
for a given pathname.  These stages are used to hold the various
unmerged version of a file when a merge is in progress.</p></div>
</div>
</div>
<div class="sect1">
<h2 id="_further_documentation">FURTHER DOCUMENTATION</h2>
<div class="sectionbody">
<div class="paragraph"><p>See the references in the "description" section to get started
using Git.  The following is probably more detail than necessary
for a first-time user.</p></div>
<div class="paragraph"><p>The <a href="user-manual.html#git-concepts">Git concepts chapter of the
user-manual</a> and <a href="gitcore-tutorial.html">gitcore-tutorial(7)</a> both provide
introductions to the underlying Git architecture.</p></div>
<div class="paragraph"><p>See <a href="gitworkflows.html">gitworkflows(7)</a> for an overview of recommended workflows.</p></div>
<div class="paragraph"><p>See also the <a href="howto-index.html">howto</a> documents for some useful
examples.</p></div>
<div class="paragraph"><p>The internals are documented in the
<a href="technical/api-index.html">Git API documentation</a>.</p></div>
<div class="paragraph"><p>Users migrating from CVS may also want to
read <a href="gitcvs-migration.html">gitcvs-migration(7)</a>.</p></div>
</div>
</div>
<div class="sect1">
<h2 id="_authors">Authors</h2>
<div class="sectionbody">
<div class="paragraph"><p>Git was started by Linus Torvalds, and is currently maintained by Junio
C Hamano. Numerous contributions have come from the Git mailing list
&lt;<a href="mailto:git@vger.kernel.org">git@vger.kernel.org</a>&gt;.  <a href="https://openhub.net/p/git/contributors/summary">https://openhub.net/p/git/contributors/summary</a>
gives you a more complete list of contributors.</p></div>
<div class="paragraph"><p>If you have a clone of git.git itself, the
output of <a href="git-shortlog.html">git-shortlog(1)</a> and <a href="git-blame.html">git-blame(1)</a> can show you
the authors for specific parts of the project.</p></div>
</div>
</div>
<div class="sect1">
<h2 id="_reporting_bugs">Reporting Bugs</h2>
<div class="sectionbody">
<div class="paragraph"><p>Report bugs to the Git mailing list &lt;<a href="mailto:git@vger.kernel.org">git@vger.kernel.org</a>&gt; where the
development and maintenance is primarily done.  You do not have to be
subscribed to the list to send a message there.  See the list archive
at <a href="https://lore.kernel.org/git">https://lore.kernel.org/git</a> for previous bug reports and other
discussions.</p></div>
<div class="paragraph"><p>Issues which are security relevant should be disclosed privately to
the Git Security mailing list &lt;<a href="mailto:git-security@googlegroups.com">git-security@googlegroups.com</a>&gt;.</p></div>
</div>
</div>
<div class="sect1">
<h2 id="_see_also">SEE ALSO</h2>
<div class="sectionbody">
<div class="paragraph"><p><a href="gittutorial.html">gittutorial(7)</a>, <a href="gittutorial-2.html">gittutorial-2(7)</a>,
<a href="giteveryday.html">giteveryday(7)</a>, <a href="gitcvs-migration.html">gitcvs-migration(7)</a>,
<a href="gitglossary.html">gitglossary(7)</a>, <a href="gitcore-tutorial.html">gitcore-tutorial(7)</a>,
<a href="gitcli.html">gitcli(7)</a>, <a href="user-manual.html">The Git User&#8217;s Manual</a>,
<a href="gitworkflows.html">gitworkflows(7)</a></p></div>
</div>
</div>
<div class="sect1">
<h2 id="_git">GIT</h2>
<div class="sectionbody">
<div class="paragraph"><p>Part of the <a href="git.html">git(1)</a> suite</p></div>
</div>
</div>
</div>
<div id="footnotes"><hr /></div>
<div id="footer">
<div id="footer-text">
Last updated
 2024-03-25 17:24:49 PDT
</div>
</div>
</body>
</html>