GIT QNA
--_________--___-_________-------___--_ 1) Warning! --_________--___-_________-------___--_ $ git add index.html warning: LF will be replaced by CRLF in index.html. The file will have its original line endings in your working directory Solution : git config core.autocrlf true 2. Whille trying and merge the new branch to master error is : fatal: refusing to merge unrelated histories --_________--___-_________-------___--_ Solution : --_________--___-_________-------___--_ The error is resolved by toggling the allow-unrelated-histories switch. After a git pull or git merge command, add the following tag: git pull origin master --allow-unrelated-histories