KodeKloud Engineer task Git Level 2 > task 3(Git Merge)

Can you please check if the validation is running properly for this task, as its a simple branch creatinion , merge and pushing to origin which is failing. Please check and tell.

The git related labs get done a lot, so I’m pretty sure that this lab is correctly graded. What did you try that failed?

I ssh into storage repo and granted permissions with “Nastasha” users to both /Opt/**** (remote)and for local /usr/src/kk/**** and then added the “Git --global -config” and made it a safe repo for natasha user to use commands, then > cd /usr/src/kk/*** >git checkout -b ***** master > git checkout **** > "cp /tmp/index.html . " > git add index.html > git commit -m “###” > git checkout master> git merge **** > git push origin ***** > git push origin master .

You probably don’t need to change ownership of those two directories. I think it will work for you if you use sudo to become root, and do the various git operations as that use instead. At least if I recall correctly for that lab.

Superb , Thanks Rob , that worked !