Versions Compared

Key

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

...

Code Block
languagebash
themeDJango
$ git push origin HEAD:refs/for/<branch-name>


Step 7:  Follow the Step 11 in Steps to raise review in CMF gerrit.

Approach 2 

                 If we don't have the commited code changes repo folder in your local terminal then go for this approach,

...

Code Block
languagebash
themeDJango
titlecherry-pick
$ git fetch "https://code.rdkcentral.com/r/components/generic/rdk-oe/meta-cmf-raspberrypi" refs/changes/57/51157/1 && git cherry-pick FETCH_HEAD

remote: Counting objects: 473, done
remote: Finding sources: 100% (6/6)
remote: Total 6 (delta 5), reused 6 (delta 5)
Unpacking objects: 100% (6/6), done.
From https://code.rdkcentral.com/r/components/generic/rdk-oe/meta-cmf-raspberrypi
 * branch            refs/changes/57/51157/1 -> FETCH_HEAD
[rdk-next 09912ac] REFPLTB-915 : Sometimes, WebUI login is failing in dunfell builds
 Date: Fri Jan 22 12:57:53 2021 +0000
 1 file changed, 1 insertion(+), 1 deletion(-)


Step 5 :  Using "git status" command to verify re-worked files(It shown as RED color in below screenshot).

Image Added

Step 6: Add the Re-Worked files to git by using "git add" command.

Code Block
languagebash
themeDJango
$ git add <path_of_file> 

For example,
 git add recipes-ccsp/util/utopia/system_defaults


Step 7:
 Using "git status" command to verify  the  current code changes(whether it's successfully added or not). It shown as GREEN color in below screenshot

Image Added


Step 8: Commit the changes by using below command,


Code Block
languagebash
themeDJango
$ git commit --amend


Step 9: Push the code changes to CMF Gerrit

Code Block
languagebash
themeDJango
$ git push origin HEAD:refs/for/<branch-name>


Step 10:  Follow the Step 11 in Steps to raise review in CMF gerrit.