作为一名iOS开发者,很多时候需要用到命令行,有时候一长串的命令实在让人讨厌,特别是一些常用的命令,我们要一遍一遍不厌其烦的去敲键盘.但是老鸟一般都不会这么傻,因为有 alias,通过alias 我们可以给常用的变量取个别名. 比如:在terminal 里面敲: alias la="ls -a" 然后再敲: la 发现了什么?呵呵,发现了什么,现在我们就可以用 la 代替 ls -a 了,比如我们还可以: alias gs="git status" 这样就可以用 g
登陆harbor [root@k8s-master ~]# docker login 192.168.180.105:1180 Username: admin Password: WARNING! Your password will be stored unencrypted in /root/.docker/config.json. Configure a credential helper to remove this warning. See https://docs.docker.co
最近想给GitHub 上的项目设置tag,可是使用GitHub Desktop,找了一圈都没找到快速设置Tag 的地方,最后只能通过终端命令来添加了. 想要查看Git 的命令,可以使用 git --help 可是大致看一下git的命令: These are common Git commands used in various situations: start a working area (see also: git help tutorial) clone Clone a reposito