1

Topic: Some git issues

Hey there,

I'm getting some issues with git (how original is that) to create a new branch with a copy of the current Oy's repository.             
I've been doing so much tries around, I guess this is just a matter of a few command lines. Would anyone rather help?

Dune.

Not Luck, Just Magic.

2

Re: Some git issues

Go to this site http://help.github.com/fork-a-repo/ and scroll down to "Work with branches"
Here you can open the commands, how to create a new branch.

3

Re: Some git issues

andi103 wrote:

Go to this site http://help.github.com/fork-a-repo/ and scroll down to "Work with branches"
Here you can open the commands, how to create a new branch.

I've got no problem to create a branch, more to get a copy of oy's repo in it.

Not Luck, Just Magic.

4

Re: Some git issues

Then why don't you ask for help there? I think that you have more chance of getting help there than here. After all: this is the official teeworlds forum. Not github forum.

Once in a century...

5

Re: Some git issues

I guess you tried that already, but:
(assuming you have the remote oy)

git fetch oy
git checkout -b <branch>
git reset --hard oy/master

Done.

And Elite Tee, I think we can provide help with git too.

6 (edited by Dune 2011-08-05 13:10:56)

Re: Some git issues

Elite Tee wrote:

Then why don't you ask for help there? I think that you have more chance of getting help there than here. After all: this is the official teeworlds forum. Not github forum.

There? Where? There is no support forum on oy's git, you know?
Also, this is the support subforum for Teeworlds, so I feel like this is the right place to ask for help about git issues.


heinrich5991 wrote:

I guess you tried that already, but:
(assuming you have the remote oy)

git fetch oy
git checkout -b <branch>
git reset --hard oy/master

I've done this, but when I git push origin, it replies:

fatal: 'origin/feature_enhancedbinds' does not appear to be a git repository
fatal: The remote end hung up unexpectedly
Not Luck, Just Magic.

7

Re: Some git issues

Could you pastebin the output of the following command, please?

git remote show origin

8

Re: Some git issues

Permission denied (publickey).
fatal: The remote end hung up unexpectedly
Not Luck, Just Magic.

9

Re: Some git issues

Did you change your private/public key pair? Have you added your public key to your account at github?

10

Re: Some git issues

heinrich5991 wrote:

Did you change your private/public key pair? Have you added your public key to your account at github?

I've checked in github, my private key is still there :/

Not Luck, Just Magic.

11

Re: Some git issues

You should have your public key on github.

Is the local keypair where git assumes it is?