Hello,
(I’m french so I’m sorry if it’s not lisible)
I got a problem with
git push
I got this error :
fatal: The current branch wave_generator has no upstream branch.
To push the current branch and set the remote as upstream, use
git push --set-upstream origin wave_generator
So i use the command git tell me to use but now I have this error :
! [rejected] wave_generator -> wave_generator (non-fast-forward)
error: failed to push some refs to 'https://github.com/DeveCout/Racoon-Hut.git'
hint: Updates were rejected because the tip of your current branch is behind
hint: its remote counterpart. Integrate the remote changes (e.g.
hint: 'git pull ...') before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.
I don’t really know what is fast-forward, I see it has something to do with fetch and merge : but I don’t want to merge the 2 branch since it’s not finished !
I’m new with git so I don’t get it : I have branch (master and wave_generator), I did’nt finish all the wave_generator part. So I don’t understand the need of merge
For the context : I work on 2 computer, I have push with the one will working on the other one, and I’m trying to push both of them.
Thanks for taking time to help me ^^