2012-05-17, 09:16
Hey,
First off all - it's not like I've not worked with Git before, I worked on the Duckbox project for my (old) satellite receiver before. However, difference is that all went to the MAIN git and not to any fork.
So now I goofed up and my "git commit -a" went to the MAIN XBCM Git. Sorry... I noticed that and fixed it.
Now, I want to do it the PROPER way. Yes, I have checked http://wiki.xbmc.org/index.php?title=Git_Usage
I have cloned my own fork, config file in .git shows this:
So the origin seems to be fine.
So then I assumed that "git commit -a" would push this into my fork and not into the master. That was wrong, but then I really do not see any "how to commit" section there. The only one is about pushing so I did it how I expected it would work.
How do I do that properly? How do I tell git "push this locally changed code into MY fork" so that I can let you guys look at it and then decide to push it into MAIN?
Thanks and sorry again
First off all - it's not like I've not worked with Git before, I worked on the Duckbox project for my (old) satellite receiver before. However, difference is that all went to the MAIN git and not to any fork.
So now I goofed up and my "git commit -a" went to the MAIN XBCM Git. Sorry... I noticed that and fixed it.
Now, I want to do it the PROPER way. Yes, I have checked http://wiki.xbmc.org/index.php?title=Git_Usage
I have cloned my own fork, config file in .git shows this:
Code:
[core]
repositoryformatversion = 0
filemode = false
bare = false
logallrefupdates = true
symlinks = false
ignorecase = true
hideDotFiles = dotGitOnly
[remote "origin"]
fetch = +refs/heads/*:refs/remotes/origin/*
url = [email protected]:MichaelAnders/xbmc.git
[branch "master"]
remote = origin
merge = refs/heads/master
[merge]
log = true
So the origin seems to be fine.
So then I assumed that "git commit -a" would push this into my fork and not into the master. That was wrong, but then I really do not see any "how to commit" section there. The only one is about pushing so I did it how I expected it would work.
How do I do that properly? How do I tell git "push this locally changed code into MY fork" so that I can let you guys look at it and then decide to push it into MAIN?
Thanks and sorry again