Team, my need to copy all the changed files from BranchA (unmerged but pushed to remote) to new BranchB. so I did below
git checkout old-change-1947545
git branch -c BranchB
vi src/test.py (add a print line)
git add src/test.py
git commit -m "changes from old-change-1947545 and my new changed file test.py"
git push origin HEAD:refs/for/main
What am observing is that the new branch is only showing src/test.py and it not showing me files that were changed in old-change-1947545 what did i miss?