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:30] 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 . | ||