Files
thpeetz-notes/Infos/IT/Git.md
T
2026-01-27 16:34:57 +01:00

40 lines
1.1 KiB
Markdown

---
tags:
- IT/Development/Git
---
## Verwendung
## Installation
### lazygit
```shell
LAZYGIT_VERSION=$(curl -s "https://api.github.com/repos/jesseduffield/lazygit/releases/latest" | grep -Po '"tag_name": "v\K[^"]*')
curl -Lo lazygit.tar.gz "https://github.com/jesseduffield/lazygit/releases/latest/download/lazygit_${LAZYGIT_VERSION}_Linux_x86_64.tar.gz"
tar xf lazygit.tar.gz lazygit
sudo install lazygit /usr/local/bin
```
### Linux-Clients
```shell
sudo apt install gitg git-gui gitk qgit giggle tig git-cola
```
## Konfiguration
```shell
git config --global --add --bool push.autoSetupRemote true
```
## Links
https://git-lfs.com/
https://www.kennwilson.com/notes/2013/08/self-hosted-remote-git-repositories/
https://www.perforce.com/blog/git-beyond-basics-using-shallow-clones
https://daringfireball.net/projects/markdown/syntax#p
https://stackoverflow.com/questions/1474115/find-tag-information-for-a-given-commit
https://git-scm.com/docs/git-clone#git-clone---reference-if-ableltrepositorygt
https://github.com/progit/progit2/blob/master/Rakefile
https://git-annex.branchable.com/
https://github.com/jesseduffield/lazygit