RDK Resources
[*RDK Preferred*]
Code Management Facility
RDK Forums
[RDK Conferences]
RDK Support
Archives
Papers & Presentations Archive
...
Step4: Run the git Clone with commit-msg hook command. By default, it taking as "master" branch. so So please mention the branch name before you are executing the git clone with commit-msg command in terminal.
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
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 Using "git branch" command to verify the branch name
Code Block | ||||
---|---|---|---|---|
| ||||
$ git branch
* rdk-next
|
Step6: Add or modify the required files. Using "git status" command to verify the newly added or modified files(It will shown as RED color).
Code Block | ||||
---|---|---|---|---|
| ||||
$ git status On branch demostatus On branch rdk-next Your branch is up to date with 'origin/rdk-next'. Changes not staged for commit: (use "git add <file>..." to update what will be committed) (use "git restore <file>..." to discard changes in working directory) modified: recipes-rdkb/sysint-broadband/files/sysint-broadband.bbappendsystem_defaults no changes added to commit (use "git add" and/or "git commit -a") |
Step6: Add required list of files where changes are done
Code Block | ||||
---|---|---|---|---|
| ||||
$ git add <path_of_file_changes_done>
Example,
git add recipes-rdkb/sysint-broadband/sysint-broadband.bbappend |
Step7: Give a commit message
...