Etc git commands
This blog talks about the git commands for the changes between untracked
, modified
and staged
. Moreover, it introduces the git remote
operation and shallow clone.
');--md-admonition-icon--abstract:url('data:image/svg+xml;charset=utf-8,');--md-admonition-icon--info:url('data:image/svg+xml;charset=utf-8,');--md-admonition-icon--tip:url('data:image/svg+xml;charset=utf-8,');--md-admonition-icon--success:url('data:image/svg+xml;charset=utf-8,');--md-admonition-icon--question:url('data:image/svg+xml;charset=utf-8,');--md-admonition-icon--warning:url('data:image/svg+xml;charset=utf-8,');--md-admonition-icon--failure:url('data:image/svg+xml;charset=utf-8,');--md-admonition-icon--danger:url('data:image/svg+xml;charset=utf-8,');--md-admonition-icon--bug:url('data:image/svg+xml;charset=utf-8,');--md-admonition-icon--example:url('data:image/svg+xml;charset=utf-8,');--md-admonition-icon--quote:url('data:image/svg+xml;charset=utf-8,');}
This blog talks about the git commands for the changes between untracked
, modified
and staged
. Moreover, it introduces the git remote
operation and shallow clone.
Our internal CLI tool will try to download a proto file by git achieve
command, and then tar it to /usr/local/include
. One user reported in his desktop tar cannot unzip file:
xxx.proto: Can't create 'xxx.proto'
tar: Error exit delayed from previous errors.
ERROR fail to extract xxx.proto into '/usr/local/include/xxx.proto'
via this script: 'tar -xf xxx.tar -C /usr/local/include'.
While GOPRIVATE
is setup alrady, when tried to run go install, it reported error that verifying module failed as no such host while dial tcp.