This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
сервис_git [2026/03/02 17:26] val [Поиск чувствительных данных (паролей, ключей) в репозитории] |
сервис_git [2026/03/19 14:05] (current) val [Работа с локальным репозиторием] |
||
|---|---|---|---|
| Line 32: | Line 32: | ||
| server:~/conf$ git init | server:~/conf$ git init | ||
| + | |||
| + | server:~/conf$ cat .gitignore | ||
| + | __pycache__/ | ||
| server:~/conf$ git add . | server:~/conf$ git add . | ||
| Line 45: | Line 48: | ||
| server:~/conf$ git status | server:~/conf$ git status | ||
| + | |||
| + | server:~/conf$ ###git restore file1 | ||
| server:~/conf$ git add -v . | server:~/conf$ git add -v . | ||
| Line 318: | Line 323: | ||
| ~# mv trufflehog /usr/local/bin/ | ~# mv trufflehog /usr/local/bin/ | ||
| - | ~# cd openvpn1/ | + | ~# trufflehog git https://server.corp13.un:4443/student/openvpn1.git |
| - | ~#trufflehog git file://. | + | ~# ###trufflehog git file://openvpn1 |
| </code> | </code> | ||