I'm making changes to the Linux kernel for my particular ARM board.
I've cloned this repository: http://arago-project.org/git/projects/?p=linux-am33x.git
I want to commit the changes I've made, and push them, but to my own server, not to the arago server. I'm currently doing a diff on my work directory and committing the diff to my own server side repo. Is there a more elegant approach to this?
Note that I'd like not to clone the entire arago repo on my server. The changes I'm making are trivial, this repo is not. Based on the answers below, I've done this:
$ git remote add myrepo ...`
$ git fetch myrepo
$ git checkout -b mybranch origin/v3.2-staging
$ git push myrepo mybranch
I was expecting that nothing would be uploaded, since nothing has been committed yet. But all of v3.2-staging started getting uploaded. What I want to do, is to commit my local changes to mybranch. And only that should get pushed to myrepo/mybranch. What kind of checkout
will permit this?