HI,
Dont really understand why my task failed for github repo setup.
I followed the steps below:
- mkdir -p /opt/official
- git --bare init (to create a bare repo)
- cd /tmp
- cp update /opt/official/hooks/
- mv update update.sample (replace update.sample with update)
- cd /usr/src/kodekloudrepos/
- git clone /opt/official
- cd official
- git checkout -b xfusioncorp_official
- cp readme.md to /usr/src/kodekloudrepos/official/
- git add .
- git commit -am “readme file added”
- git config --global push.default simple
- git push --set-upstream origin xfusioncorp_official
- git push
- git checkout -b master
- git push
- List item
Please see the screenshots below: