码迷,mamicode.com
首页 > Windows程序 > 详细

What is Git for Windows inside?

时间:2016-05-12 21:23:17      阅读:303      评论:0      收藏:0      [点我收藏+]

标签:

What is Git for Windows inside?

What is it?

  • Git is a kind of DVCS.

How to use it?

the ways of Using Git on Windows

  1. Git for Windows
  2. GitHub Desktop

Git for Windows

What is it?

Git originally targets Linux. Windows does not provide the POXIS infrastructure Git expects.
Git for Windows provides the basic POSIX infractructrue Git expects.
How dose it privide these missing POSIX ifractructure?
MSYS2

How to build it?

Git for Windows SDK

POSIX infractructure

What is it?

POSIX(Portable Operating System Interface) is a set of standard operating system interface based on Unix operating system.

Why we need a POSIX thing?

- We want to be able to develop programs that could be moved among differenct manufacture‘s computer system without to be recoded.

Why we build it based on Unix?

- Unix is manufacturer-neutral

How to use(read) it?

Select the right standard set: each standard set has a number of name end.
POSIX.1 is the standard for an application program interface in the C language.
POSIX.2 is the standard shell and utility inteface(that is user’s command inteface with the OS).
(These are two main interface)

How to get it?

IEEE develope it.

What are Windows missing?

What does does Windows provide?

- Windows NT Once try to compliant with POSIX(only POSIX.1), bu start with Windows XP the POSIX subsystem is not included as part of standard Windows distributions and has been replaced by Interix    subsystem. Additionally, if you want to run a UNIX-based appliction, you have to install SFU/SUA(Windows Service for UNIX/Subsystem for UNIX-based Applications), it provides a Unix subsystem and other    part of a full Unix environment. 
 - Windows NT 4.0 and Windows 2000: SFU 1.0 and 2.0 + MKS Toolkit
 - Windows XP: SFU 3.0 + Interix subsystem
 - Windows 2003 R2: SFU 3.5(renamed it to SUA)
 - Windows 2008 and higher version of Windows: a minimal SUA(most utility must download)
Interix is not a emulation of Unix kernel, but rather a implementation of a user-mode subsystem running directly on the top of Windows NT kernel.
SFU/SUA just providers header file and libraries to recomplier and port Unix applictions for use on Windows, but you can not execute Unix binaries on it.

MSY2

What is it?

MSY2 is a striped down version of Cygwin, but it is activly kept up-to-date with Cygwin’s newest revisions.

Cygwin

What is it?

Cygwin is a collections of Linux tools, provide a bash you can execute Linux command, and many libraries.

What is Git for Windows inside?

标签:

原文地址:http://blog.csdn.net/u010278882/article/details/51354162

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!