在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:github/hub开源软件地址:https://github.com/github/hub开源编程语言:Go 49.5%开源软件介绍:hub is a command line tool that wraps For an official, potentially more user-friendly command-line interface to GitHub, see cli.github.com and this comparison. This repository and its issue tracker is not for reporting problems with GitHub.com web interface. If you have a problem with GitHub itself, please contact Support. Usage$ hub clone rtomayko/tilt
#=> git clone https://github.com/rtomayko/tilt.git
# or, if you prefer the SSH protocol:
$ git config --global hub.protocol ssh
$ hub clone rtomayko/tilt
#=> git clone [email protected]:rtomayko/tilt.git See usage examples or the full reference documentation to see all available commands and flags. hub can also be used to make shell scripts that directly interact with the GitHub API. hub can be safely aliased as InstallationThe
Packages other than Homebrew are community-maintained (thank you!) and they
are not guaranteed to match the latest hub release. Check Standalone
GitHub Actionshub is ready to be used in your GitHub Actions workflows: steps:
- uses: actions/checkout@v2
- name: List open pull requests
run: hub pr list
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} Note that the default SourcePrerequisites for building from source are:
Clone this repository and run git clone \
--config transfer.fsckobjects=false \
--config receive.fsckobjects=false \
--config fetch.fsckobjects=false \
https://github.com/github/hub.git
cd hub
make install prefix=/usr/local AliasingSome hub features feel best when it's aliased as
You should place this command in your eval "$(hub alias -s)" PowerShellIf you're using PowerShell, you can set an alias for Set-Alias git hub A simple way to do this is to run the following from the PowerShell prompt: Add-Content $PROFILE "`nSet-Alias git hub" Note: You'll need to restart your PowerShell console in order for the changes to be picked up. If your PowerShell profile doesn't exist, you can create it by running the following: New-Item -Type file -Force $PROFILE Shell tab-completionhub repository contains tab-completion scripts for bash, zsh and fish. These scripts complement existing completion scripts that ship with git. Meta
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论