Re: Newbie to git

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> I'm a using of git for several time, but now I have the need to a git
> server.
> My question, where can get a howto for reallyyyy newbies on git server?

One question:

I've created a project on the server with:

mkdir project.git
cd project.git
git init

-and now locally, created a directory, and cloned this, it said that i was
cloning an empty repo, fine about that.
-now i added something locally, i get: (locally this is on a windows
machine with tortoiso git)

--
git.exe push  --tags  "origin" master:git://192.168.1.206/projects.git

error: src refspec master:git does not match any.
error: failed to push some refs to 'git://192.168.1.206/projects.git'
--

I've read somewhere that i have to init both repos, remote and local to
the same branch, is it correct?

My idea is:

- clone remote repo
- add projects locally and commit them to remote

how can this be done easylly?
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]