- Notifications
You must be signed in to change notification settings - Fork2.7k
A fork of Git containing Windows-specific patches.
License
git-for-windows/git
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
This isGit for Windows, the Windows portofGit.
The Git for Windows project is run using agovernancemodel. If youencounter problems, you can report them asGitHubissues, discuss them in Gitfor Windows'Discussionsor on theGit mailing list, andcontribute bugfixes.
To build Git for Windows, please either installGit for Windows'SDK, start itsgit-bash.exe,cdto your Git worktree and runmake, or open the Git worktree as a folder inVisual Studio.
To verify that your build works, use one of the following methods:
If you want to test the built executables within Git for Windows' SDK,prepend
<worktree>/bin-wrappersto thePATH.Alternatively, run
make installin the Git worktree.If you need to test this in a full installer, run
sdk build git-and-installer.You can also "install" Git into an existing portable Git via
make install DESTDIR=<dir>where<dir>refers to the top-level directory of theportable Git. In this instance, you will want to prepend that portable Git's/cmddirectory to thePATH, or test by running that portable Git'sgit-bash.exeorgit-cmd.exe.If you built using a recent Visual Studio, you can use the menu item
Build>Install git(you will want to click onProject>CMake Settings for Gitfirst, then click onEdit JSONand then pointinstallRootto themingw64directory of an already-unpacked portable Git).As in the previous bullet point, you will then prepend
/cmdto thePATHor run using the portable Git'sgit-bash.exeorgit-cmd.exe.If you want to run the built executables in-place, but in a CMD instead ofinside a Bash, you can run a snippet like this in the
git-bash.exewindowwhere Git was built (ensure that theEOFline has no leading spaces), andthen paste into the CMD window what was put in the clipboard:clip.exe<<EOFset GIT_EXEC_PATH=$(cygpath -aw .)set PATH=$(cygpath -awp".:contrib/scalar:/mingw64/bin:/usr/bin:$PATH")set GIT_TEMPLATE_DIR=$(cygpath -aw templates/blt)set GITPERLLIB=$(cygpath -aw perl/build/lib)EOF
If you want to run the built executables in-place, but outside of Git forWindows' SDK, and without an option to set/override any environmentvariables (e.g. in Visual Studio's debugger), you can call the Git executableby its absolute path and use the
--exec-pathoption, like so:C:\git-sdk-64\usr\src\git\git.exe --exec-path=C:\git-sdk-64\usr\src\git help
Note: for this to work, you have to hard-link (or copy) the
.dllfiles fromthe/mingw64/bindirectory to the Git worktree, or add the/mingw64/bindirectory to thePATHsomehow or other.
To make sure that you are testing the correct binary, call./git.exe versionin the Git worktree, and then callgit version in a directory/window whereyou want to test Git, and verify that they refer to the same version (you mayeven want to pass the command-line option--build-options to look at theexact commit from which the Git version was built).
Git is a fast, scalable, distributed revision control system with anunusually rich command set that provides both high-level operationsand full access to internals.
Git is an Open Source project covered by the GNU General PublicLicense version 2 (some parts of it are under different licenses,compatible with the GPLv2). It was originally written by LinusTorvalds with help of a group of hackers around the net.
Please read the fileINSTALL for installation instructions.
Many Git online resources are accessible fromhttps://git-scm.com/including full documentation and Git related tools.
SeeDocumentation/gittutorial.adoc to get started, then seeDocumentation/giteveryday.adoc for a useful minimum set of commands, andDocumentation/git-<commandname>.adoc for documentation of each command.If git has been correctly installed, then the tutorial can also beread withman gittutorial orgit help tutorial, and thedocumentation of each command withman git-<commandname> orgit help <commandname>.
CVS users may also want to readDocumentation/gitcvs-migration.adoc(man gitcvs-migration orgit help cvs-migration if git isinstalled).
The user discussion and development of core Git take place on the Gitmailing list -- everyone is welcome to post bug reports, featurerequests, comments and patches togit@vger.kernel.org (readDocumentation/SubmittingPatches for instructions on patch submissionandDocumentation/CodingGuidelines).
Those wishing to help with error message, usage and informational messagestring translations (localization l10) should seepo/README.md(apo file is a Portable Object file that holds the translations).
To subscribe to the list, send an email togit+subscribe@vger.kernel.org(seehttps://subspace.kernel.org/subscribing.html for details). The mailinglist archives are available athttps://lore.kernel.org/git/,https://marc.info/?l=git and other archival sites.The core git mailing list is plain text (no HTML!).
Issues which are security relevant should be disclosed privately tothe Git Security mailing listgit-security@googlegroups.com.
The maintainer frequently sends the "What's cooking" reports thatlist the current status of various development topics to the mailinglist. The discussion following them give a good reference forproject status, development direction and remaining tasks.
The name "git" was given by Linus Torvalds when he wrote the veryfirst version. He described the tool as "the stupid content tracker"and the name as (depending on your mood):
- random three-letter combination that is pronounceable, and notactually used by any common UNIX command. The fact that it is amispronunciation of "get" may or may not be relevant.
- stupid. contemptible and despicable. simple. Take your pick from thedictionary of slang.
- "global information tracker": you're in a good mood, and it actuallyworks for you. Angels sing, and a light suddenly fills the room.
- "goddamn idiotic truckload of sh*t": when it breaks
About
A fork of Git containing Windows-specific patches.
Topics
Resources
License
Code of conduct
Security policy
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Languages
- C51.2%
- Shell36.9%
- Perl4.7%
- Tcl3.6%
- Python0.8%
- Makefile0.7%
- Other2.1%

Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.