git-core已经被端口git淘汰了

Dar*_*ght 4 git macos github repository

我想在Mac上运行"repo"命令(并从Git repo下载代码).我按照上面的指南:

http://threadeds.blogspot.com/2009/02/getting-started-with-google-android-on.html
Run Code Online (Sandbox Code Playgroud)

当我执行命令时,

POSIXLY_CORRECT=1 sudo port install gmake libsdl git-core gnupg
Run Code Online (Sandbox Code Playgroud)

我收到此错误:

我在安装时遇到以下问题

Error: git-core has been made obsolete by the port git. Please install git instead.
Error: org.macports.configure for port git-core returned: obsolete port
Please see the log file for port git-core for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_git-core/git-core/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port git-core failed
Run Code Online (Sandbox Code Playgroud)

我该如何解决这个问题?

tbe*_*lay 7

似乎port已将git-core包重命名为just git.所以将命令更改为

POSIXLY_CORRECT=1 sudo port install gmake libsdl git gnupg
Run Code Online (Sandbox Code Playgroud)

应该管用.