I want to add these lines to git config. I need a command line solution.
[branch "master"]
remote = origin
merge = refs/heads/master
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
git config branch.master.remote originto set the valueremote.git config branch.master.merge refs/heads/masterto set the valuemerge.git config branch.master.remoteto read values.The
git configcould be used to edit any value. The rules are simple. I explain by example. Thegit config a.b.c.d.e.f 42produces the config section like this: