Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

So Committing the code changes, we need to select & copy the first option in above screenshot.

Step4:  Run the git Clone with commit-msg hook command. By default, it taking as "master" branch. so please mention the branch name before you executing the git clone with commit-msg command in terminal.

Code Block
languagebash
themeDJango
titleclone with Commit-msg
kpandu549@dvm-hoa-009:~/keerthana/rpi/checkin/test$ git clone "https://code.rdkcentral.com/r/components/generic/rdk-oe/meta-cmf-raspberrypi" -b rdk-next && (cd "meta-cmf-raspberrypi" && gitdir=$(git rev-parse --git-dir); curl -o ${gitdir}/hooks/commit-msg https://code.rdkcentral.com/r/tools/hooks/commit-msg ; chmod +x ${gitdir}/hooks/commit-msg)
Cloning into 'meta-cmf-raspberrypi'...
remote: Counting objects: 151, done
remote: Total 10764 (delta 0), reused 10764 (delta 0)
Receiving objects: 100% (10764/10764), 2.58 MiB | 6.96 MiB/s, done.
Resolving deltas: 100% (4272/4272), done.
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  1792  100  1792    0     0   4876      0 --:--:-- --:--:-- --:--:--  4869
kpandu549@dvm-hoa-009:~/keerthana/rpi/checkin/test$ ls
meta-cmf-raspberrypi




Step5: Make changes in local github repository and can verify with "git status" command

...