Shallow clone a old repo
2020年10月13日
If you don't need the full git history for a repo you will be working on you can supply a clone depth to only clone x revisions of the repo.
git clone --depth=1 https://github.com/my/repo.git
If you don't need the full git history for a repo you will be working on you can supply a clone depth to only clone x revisions of the repo.
git clone --depth=1 https://github.com/my/repo.git
Simply put a space before the command and it won't be saved to ~/.bash\_history. E.g. qrencode -o out.png "Some secret text"
To upgrade postgres you can run
Open term (or equivalent) and paste the following: