I set up a remote git repo on my server for staging.
Added a remote on local
Created a new branch 'staging'

Went to push staging repo to staging remote and got:

remote: fatal: You are on a branch yet to be born


So I googled and got the solution - I connected to the remote server and 
changed the HEAD to the 'staging' branch 

Then I tried to push again:

git push staging staging

Everything up-to-date


.............. No it's not .......

So I try to force: 

git push -f staging staging

Everything up-to-date


.............. No it's not ....... Git is harder than actually 
programming!!!!

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/git-users/38ba0cbd-8989-489b-bc97-3419c752a549o%40googlegroups.com.

Reply via email to