N
N
nSnayp2014-07-08 17:11:37
git
nSnayp, 2014-07-08 17:11:37

GitHub how to get started?

Perhaps everyone will say that I have lagged behind for a long time. But there was a need to make a project (CMS) in several people.
I don't understand anything in the git. I created an acc and ssh keys, connected like, but I don’t understand what to do next.
If I want to do the project as I did - just connected on the server and ruled the files, what does the approximate scheme look like now?
What does the scheme of work together look like?
Does github allow re-uploading files to my server if I tell it which version to upload?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
L
lexnekr, 2014-07-10
@nSnayp

The question is probably too general. I will not give links - you have enough comments above them.
The bottom line is that github is a CENTRAL repository, the central repository of your project. Those. there must be other repositories.
If you and your colleagues are all working together on 1 server (i.e. editing files together right there), then nothing much will come of it.
But if you each have your own workplace, and there is a server where you assemble or test the work of all participants, then this is the norm.
Usually the ideology is something like this.
- You have done something, committed it
- Sent it to the central repository (for example, to github)
- Your colleagues can take your work from the central repo and combine it with theirs. At myself. In their local developments. And then do the same as you did.
- Well, you can push changes from the central repo to the server (of course, you can also from any other, but it's better not to have fun in the beginning).
The client is suitable for work locally. There are many, they are different. There are examples on the links.
To work on the server, you will have to master the console. SSH. Well, or put a web console that emulates it (but this is an additional headache).
Then you develop, commit changes (i.e. save the result in some packages), change with each other and the central server, roll onto the server for verification. Well, go back to earlier commits, if suddenly everything is broken...
=)

A
Appp Zooo, 2014-07-08
@ikeagold

Guide with all links - habrahabr.ru/post/125799
https://windows.github.com/ Wind's gui client :)
git-scm.com/downloads - clients for other systems

J
JRazor, 2014-07-08
@JRazor

Get started with understanding Git - githowto.com/en. No wonder the project is called Git Hub.

L
Leo, 2014-07-09
@STLEON

https://guides.github.com/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question