git-repo is a command-line tool for centralized workflow, can work with Gerrit, AGit-Flow compatible servers. It is written in Golang, and it can be installed easily without further dependency. It provides an easy-to-use solution for multiple repositories which is introduced by Android repo first, and it can also work with a single repository.
Try to validate response of ssh_info, and show error if hostname or username has invalid characters.
Signed-off-by: Jiang Xin zhiyou.jx@alibaba-inc.com