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 true2. 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 agit pullorgit mergecommand, add the following tag:
git pull origin master --allow-unrelated-histories
Comments
Post a Comment