User Tools

Site Tools


сервис_git

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
сервис_git [2022/02/24 09:00]
val [Сервис Git]
сервис_git [2022/02/24 17:03]
val [Работа с локальным репозиторием]
Line 43: Line 43:
 server:​~/​conf$ git log --follow -- file1 server:​~/​conf$ git log --follow -- file1
  
-server:​~/​conf$ git show <commit hash>:file1+server:​~/​conf$ git show <commit hash> ​       ​Все изменения файлов в этом коммите
  
-server:​~/​conf$ git diff <commit hash> file1+server:​~/​conf$ git show <commit hash>:​file1 ​ Содержимое файла в этом коммите 
 + 
 +server:​~/​conf$ git show <commit hash> file1  Изменения файла в этом коммите 
 + 
 +server:​~/​conf$ git diff <commit hash> file1  ​Изменения файла в следующем коммите
  
 server:​~/​conf$ git diff <commit hash N> <commit hash M> file1 server:​~/​conf$ git diff <commit hash N> <commit hash M> file1
сервис_git.txt · Last modified: 2023/09/14 15:37 by val