Facing an interesting issue while working on a Git task in KodeKloud labs

Santosh_KodeKloud
Tue, 14 Apr 2026 17:51:13 +0000

On the storage server, cd into the repo dir.

git checkout -b <branch>
cp /tmp/index.html ./
git add .
git commit -m "adding index.html"
git push origin <branch>

#Now merge the branch to master and push
git checkout master
git merge <branch>
git push origin master

This workflow worked for me. Could you try this again?

Read full topic