How do I do that?
The question's a bit vague but something like this should work (using Bash):
Create a new branch in your existing repo
git checkout -b $new_branch
Copy/move the new code into the repo
cp $new_code.
Commit and push
git commit -am "Create $new_branch from external work in $new_code" git push -u origin $new_branch
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.