TLS in a Nutshell
- What's TLS?
- TLS Protocol
- TLS Implementation
|Search package that contains the file||
|List package files||
|Search packages with glob pattern||
|Show package info||
Generally, the Git proxy configuration depends on the Git Server Protocal you use. And there're two common protocals: SSH and HTTP/HTTPS. Both require a proxy setup already. In the following, I assume a SOCKS5 proxy set up on
localhost:1080. But it can also be a HTTP proxy. I'll talk about how to set up a SOCKS5 proxy later.
When you do
git clone ssh://[user@]server/project.git or
git clone [user@]server:project.git, you're using the SSH protocal. You need to configurate your SSH client to use a proxy. Add the following to your SSH config file, say
ProxyCommand nc -x localhost:1080 %h %p
sudo yum group install Development\ Tools
sudo yum install zlib-devel libicu-devel openssl-devel
Get the OS image file(RASPBIAN STRETCH LITE) from https://www.raspberrypi.org/downloads/raspbian/, and write it into a SD card as said by https://www.raspberrypi.org/documentation/installation/installing-images/README.md
git config --get core.ignorecase, and set it by
git config core.ignorecase false.
git grep -I '^M'. It searches for a literal CR character in files.
git showmore lines before and after the changed lines, use
git show -U <NUM>.
git diffa file/dir between two commits, use
git diff <first-commit> <second-commit> [--] <filepath>. Either
commitcan be omitted, in which case it's as if
HEADis used for that omitted commit.