git

Find who added a file to git repo

To find which user and when a file gets committed to a git repository, you can use the command For

Color git command line result

On CentOS, when i run git commands like “git status” or “git diff”, the result is shown with out any

show git branch in terminal

Show git branch in terminal

When working with git, to avoid accidental commit to wrong branch, it will be better if terminal show the branch

Auto push after git commit

Auto push after git commit

Git hook allow you to perform tasks when some changes happen on a git repository. To automatically push code when

bitbucket server

Enable SSL on BitBucket Server

BitBucket Server alloow you to host git repositories. By default bitbucket server have url in following format To install SSL,

Git SCM

Git Ignore file Permission (chmod)

Some times when you transfer file to web server, you may need a differnt file permission for files to run

Git stdin is not a tty

Git stdin is not a tty

When i push to get respo, i get error Other than this error on push and pull, everything worked fine.

How to protect .git folder using htaccess

How to protect .git folder using htaccess

GIT is popular version control software, this work like a time machine. You can easily get older versions of code.

PHP Script to pull changes from GIT Repository

PHP Script to pull changes from GIT Repository

Here is a PHP script, that pulls the latest code from Git Repository to your website. https://gist.github.com/serverok/7efc12fcd75aac21309dbe234d9030f6 Upload the file

Git

Git

Monitor file changes in your Website PHP Script to pull changes from GIT Repository How to protect .git folder using

git log

git log

To see got commit log, type To see logs in one line, run To see one line grap, use or