It's seems that you are trying to push to a non bare repo, also in git you
are always using branches but depending on how you use git you may not
notice that.

I think the better for you it's to read [1] it's not too large and it's
pretty didactic. There it's no short answer for your question.

[1] https://git-scm.com/book/en/v1

El vie, jul 3, 2015 10:15,  <p...@greenlogix.eu> escribió:

> hello,
>
> I cloned a rep I installed on a ubuntu machine (empty rep)
>
> as I add files to that empty working copy, I can commit them (I use
> SourceTree)
> but once I do the push, I get an error,
>
> master -> master (branch is currently checked out)
>
> I try to find some infos, but the more I dig, the less I understand Git
>
> I been told to either do a pull instead of a clone or do a init --bare
>
> but I dont want branching !!
>
> the goal is to have two people working on the same code and merging what
> they do to the repository (mater, origin , whatever, I dont even know what
> it is)
>
> can someone enlight me, I just don understand git at all
>
> svn was crap but way simpler to use
>
> thanks
>
> --
> 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.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to