git学习一
2016-07-02 22:19
246 查看
安装
https://git-scm.com/downloads
一键安装
Mac OS X 注意
Git OSX Installer
=================
=================
https://github.com/timcharper/git_osx_installer/
INSTALLATION
============
Step 1 - Install Package
------------------------
Double-click the package in this disk image to install. This installs
git to /usr/local/git, and places symlinks into /usr/local/bin and
/usr/share/man/.
Step 2 - Remove stubs (Yosemite and earlier)
--------------------------------------------
When you run `git`, you might see this message:
'The "git" command requires the command line developer
tools. Would you like to install the tools now?"
This is because OS X ships with stubs, and these stubs are taking
precedence over /usr/local/bin.
To resolve, run the following:
sudo mv /usr/bin/git /usr/bin/git-system
This should not be a problem in OS X 10.11 (El Capitan), as
/usr/local/bin takes precedence over /usr/bin
UNINSTALLING
============
Run the uninstall script in /usr/local/git/uninstall.sh
NOTES ABOUT THIS BUILD
============
* Since Mac OS X does not ship with gettext, this build does not
include gettext support. If popular demand requests (via the git
issue tracker
http://code.google.com/p/git-osx-installer/issues/list) the
installer may bundle gettext in the future to provide localization
support.
KNOWN ISSUES
============
Git GUI / gitk won't open - complain of missing Tcl / Tk Aqua libraries
-----------------------------------------------------------------------
If you don't already have Tcl/Tk Aqua installed on your computer (most
MacOS X installs have it), you will get this error message. To resolve
it, simply go to the website for Tcl / Tk Aqua and download the latest
version:
http://www.categorifiedcoder.info/tcltk/
If you have an older version of Tcl / Tk Aqua, you'll benefit from
upgrading.
More information:
http://code.google.com/p/git-osx-installer/issues/detail?id=41
Installer hangs during install (and I have iPhone developer tools installed)
----------------------------------------------------------------------------
The iPhone developer tools require some kind of gnarly system lock
that causes the MacOS X installer system to hang. Just quit the iPhone
SDK and try again.
More information:
http://code.google.com/p/git-osx-installer/issues/detail?id=35
"git-svn is missing"
--------------------
Mac OS X no longer ships with SVN, and this installer no longer ships
with git-svn support.
Complain about that here:
https://github.com/timcharper/git_osx_installer/issues
Handling of international characters in file is broken
------------------------------------------------------
If you would like some validation, read this: http://is.gd/5NAN9.
You're not alone.
This is not an issue with Git, not the installer. Apparently
subversion has it too.
https://git-scm.com/downloads
一键安装
Mac OS X 注意
Git OSX Installer
=================
=================
https://github.com/timcharper/git_osx_installer/
INSTALLATION
============
Step 1 - Install Package
------------------------
Double-click the package in this disk image to install. This installs
git to /usr/local/git, and places symlinks into /usr/local/bin and
/usr/share/man/.
Step 2 - Remove stubs (Yosemite and earlier)
--------------------------------------------
When you run `git`, you might see this message:
'The "git" command requires the command line developer
tools. Would you like to install the tools now?"
This is because OS X ships with stubs, and these stubs are taking
precedence over /usr/local/bin.
To resolve, run the following:
sudo mv /usr/bin/git /usr/bin/git-system
This should not be a problem in OS X 10.11 (El Capitan), as
/usr/local/bin takes precedence over /usr/bin
UNINSTALLING
============
Run the uninstall script in /usr/local/git/uninstall.sh
NOTES ABOUT THIS BUILD
============
* Since Mac OS X does not ship with gettext, this build does not
include gettext support. If popular demand requests (via the git
issue tracker
http://code.google.com/p/git-osx-installer/issues/list) the
installer may bundle gettext in the future to provide localization
support.
KNOWN ISSUES
============
Git GUI / gitk won't open - complain of missing Tcl / Tk Aqua libraries
-----------------------------------------------------------------------
If you don't already have Tcl/Tk Aqua installed on your computer (most
MacOS X installs have it), you will get this error message. To resolve
it, simply go to the website for Tcl / Tk Aqua and download the latest
version:
http://www.categorifiedcoder.info/tcltk/
If you have an older version of Tcl / Tk Aqua, you'll benefit from
upgrading.
More information:
http://code.google.com/p/git-osx-installer/issues/detail?id=41
Installer hangs during install (and I have iPhone developer tools installed)
----------------------------------------------------------------------------
The iPhone developer tools require some kind of gnarly system lock
that causes the MacOS X installer system to hang. Just quit the iPhone
SDK and try again.
More information:
http://code.google.com/p/git-osx-installer/issues/detail?id=35
"git-svn is missing"
--------------------
Mac OS X no longer ships with SVN, and this installer no longer ships
with git-svn support.
Complain about that here:
https://github.com/timcharper/git_osx_installer/issues
Handling of international characters in file is broken
------------------------------------------------------
If you would like some validation, read this: http://is.gd/5NAN9.
You're not alone.
This is not an issue with Git, not the installer. Apparently
subversion has it too.
相关文章推荐
- RPC failed; result=22, HTTP code = 411
- git更新已經刪除的文件
- 提取Git每次提交后Commit的文件
- GIT迁移服务器
- 分布式版本管理git入门指南使用资料汇总及文章推荐
- git终极指南:在实际开发中的应用
- Git远程操作详解
- 25个 Git 进阶技巧(翻译)
- 详解版本控制利器Git,SVN的异同以及适用范围
- Ruby实现的删除已经合并的git分支脚本分享
- 在 Shell 提示符中显示 Git 分支名称的方法
- Git使用基础篇(一些常用命令和原理)
- git eclipse 插件的安装
- git fork同步是什么意思?
- Git使用小坑 Out of memory错误的解决方法
- Python的高级Git库 Gittle
- 使用GIT进行源码管理――GUI客户端小结
- 使用git代替FTP部署代码到服务器的例子
- linux系统安装git及git常用命令
- 分享下自己总结的Git常用命令