On a web server, i had to change file permission to 755 to make site work. Now when i try to get latest code from git, git pull fail with file change error.
To ignore file permission in git, run
git config core.filemode false
Git Set User
To set user name and email, run
git config user.name "Your Name" git config user.email "[email protected]"
- GIT Disable accidental commit on master branch
- Better git log
- GIT fatal: Unable to find remote helper for ‘https’
- Install git from source
- git diff – list changed files between 2 commits
- Show Git Branch in Command Prompt