linux - Using git to just monitor changes on a webserver -


i tasked monitoring changes made source files of website. not developing website, watching it. firm believer in using version control, , fan of git, developer maintaining site not, , have decided better let him continue work wants (don't ask). not want have give him instructions whatsoever (except possibly telling him adding files or directories can ignore).

i consider myself intermediate-level user of git, want run expert or two.

i thinking can install git on (linux) server, , ask status, , commits, via ssh. work without jeopardizing normal operation of web server?

yes, using git on server should not interfere normal operation of server (as mentioned in comments, doing on production server dodgy i'll leave 1 side.)

note using git create .git directory @ root of whatever you're tracking. if web server root directory, might want consider whether risk far external access contents of .git directory (depending on server setup, may or may not concern).

if want create .git directory somewhere else outside working tree, see git_dir environment variable.


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -