bash - Command 'checkout' not found - Git repository on server -


i trying create git repository on amazon server first time. bare repository , file post_receive inside repo's hooks folder created. when running following command:

git_work_tree=/var/www/html checkout -f 

i getting -bash: checkout: command not found

by above command want git auto push latest commits in repository web root.

did not find solution after googling time.

please suggest how can working.


Comments

Popular posts from this blog

cookies - Yii2 Advanced - Share session between frontend and mainsite (duplicate of frontend for www) -

angular - password and confirm password field validation angular2 reactive forms -

php - Permission denied. Laravel linux server -