Deploy Modified Files Using Git

I came to Git from SVN. Previously, to update a production site, I compared the revisions from production one to HEAD using TortoiseSVN, exported the changed / added files to a temporary directory, and then uploaded them to the production server.

Is it possible to reproduce the same with Git (TortoiseGit)?

+3
source share
2 answers

compare Dialog of TortoiseGit more about the file, and with Git you need to compare two branches, masternot only two commits of the same branches that point to the same central SVN repo)

git , ( ) / ( )
reset - prod / .

git , , :

  • (, "prod1" ) , (prod1/master)
  • ( "prod1_master" )

, prod1 master:

 git diff --list-only prod1/master
 git diff --list-only prod1_master

, prod.

+3

Git checkout, / , Git pull?

+2

Source: https://habr.com/ru/post/1729116/


All Articles