Learn the fundamentals of version control through step-by-step tutorials that will teach you the ins-and-outs of Git. This book is your complete guide to how Git and GitHub work in. 可以理解为Ubuntu上的apt-get,用这个软件可以轻松的装其他的Mac上的软件。主要是服务程序员的,这是一个非常重要的对于程序员来说不可或缺的Mac软件。官网在这里:Homebrew — The missing package manager for OS X. JavaProgramming$$ Unit2.$Part2.$ Intro$to$the$version$control$system$GIT.$ Hos:ng$on$GitHub$ (c)$Yakov$Fain$2014$.
This is the web application for the git-scm.com site. It is meant to be thefirst place a person new to Git will land and download or learn about theGit SCM system.
This app is written in Ruby on Rails and deployed on Heroku.
Setup
You'll need a Ruby environment to run Rails. First do:
Then you need to create the database structure:
Alternatively you can run the script at
script/bootstrap
which will set up Ruby dependencies and the local SQLite database.Now you'll want to populate the man pages. You can do so from a local Gitsource clone like this:
This will populate the man pages for all Git versions. You can also populate them only for a specific Git version (faster):
Or you can populate the man pages from GitHub (much slower) like this:
Similarly, you can also populate the localized man pages. From a local clone of https://github.com/jnavila/git-html-l10n :
Or you can do it from GitHub (much slower) like this:
![Download Download](/uploads/1/2/7/6/127633440/287102728.jpg)
Now you need to get the latest downloads for the downloads pages:
Now you'll probably want some book data. You'll haveto have access to the Pro Git project on GitHub through the API.
If you have 2FA enabled, you'll need to create a Personal Access Token.
That will generate the book content from the Asciidoc files fetched from the online repository and post it to the Rails server database. You can select a specific language by indicating it in the
GENLANG
environment variable:Alternatively, you can get the book content from a repository on your computer by specifying the path in the
GENPATH
environment variable to the local_genbook2
target:Com Download Itunes
Now you can run the Rails site to take a look.
The site should be running on http://localhost:5000
Testing
To run the tests for this project, run:
To run the website for testing purposes, run:
Contributing
If you wish to contribute to this website, please fork it on GitHub, push yourchange to a named branch, then send a pull request. If it is a big feature,you might want to start an issue first to make sure it's something that willbe accepted. If it involves code, please also write tests for it.
Adding new GUI
The list of GUI clients has been constructed by the community for a long time. If you want to add another tool you'll need to follow a few steps:
- Add the GUI client details at the YAML file: https://github.com/git/git-scm.com/blob/master/resources/guis.yml
- The fields
name
,url
,price
,license
should be very straightforward to fill. - The field
image_tag
corresponds to the filename of the image of the tool (without path, just the filename). platforms
is a list of at least 1 platform in which the tool is supported. The possibilities are:Windows
,Mac
,Linux
,Android
, andiOS
order
can be filled with the biggest number already existing, plus 1 (Adding to the bottom - this will be covered in the following steps)trend_name
is an optional field that can be used for helping sorting the clients (also covered in the next steps)
- The fields
- Add the image to
public/images/guis/<GUI_CLIENT_NAME>@2x.png
andpublic/images/guis/<GUI_CLIENT_NAME>.png
making sure the aspect ratio matches a 588:332 image. - Sort the tools
- From the root of the repository, run:
$ ./script/sort-gui
- A list of google trends url's will be displayed at the bottom if everything went well.
- Open each and check if the clients are sorted.
- If the clients are not sorted, just fix the order (by changing the
order
field), bubbling the more 'known' clients all the way up. - Repeat until the order stabilizes.
- It is possible that your new GUI client doesn't have good results in Google Trends. You can try similar terms (for instance, adding the git keyword sometime helps). If you find any similar term that returns better results, add the
trend_name
field to the GUI client. Have a look at theTower
andCycligent Git Tool
tools example. - The script makes some basic verifications. If there was some problem, it should be easily visible in the output
- If you have more than 1 tool with the same name, a warning will appear:
WARNING: THERE ARE DUPLICATED GUIS
- If you are using the same
order
value for more than 1 tool, a warning will appear:WARNING: THERE ARE DUPLICATED ORDERS (value: <VALUE>)
- From the root of the repository, run:
License
The source code for the site is licensed under the MIT license, which you can find inthe MIT-LICENSE.txt file.
Git Scm Com Download Mac Iso
All graphical assets are licensed under theCreative Commons Attribution 3.0 Unported License.