我将 git repos 存储在不同的目录中,这些目录有很长的路径/opt/too/long/path/to/type/every/time/git-repo,而且cd每次都很难记住加上目录是痛苦和乏味的。(我知道有TAB帮助,但这也会变得乏味。)所以,如果我可以将它存储在pwd某个地方,然后再做类似cd thatgitrepo.
/opt/too/long/path/to/type/every/time/git-repo
cd
pwd
cd thatgitrepo
terminal
terminal ×1