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

php - Permission denied. Laravel linux server -

google bigquery - Delta between query execution time and Java query call to finish -

python - Pandas two dataframes multiplication? -