D
D
DenZel2016-12-25 09:40:32
git
DenZel, 2016-12-25 09:40:32

How to setup git server + sourcetree?

Hey!
Tell me how to deploy the trace correctly. :
1. Git server on windows server 2012 (all repositories will be on it)
2. Connecting clients (developers) to the git server
3. Automatic backup (for example, once a week) of repositories to another server (Ubuntu)
4. Automatic filling of repositories on Bitbucket,
what are the best free software to use for a small development team.
Thank you!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
T
TyzhSysAdmin, 2016-12-25
@POS_troi

Take a server with any linux, roll gitlab there and enjoy life and don't do garbage.

E
Evgeniy Volf, 2016-12-25
@Wolfnsex

1. Git server on windows server 2012 (all repositories will be on it)

I would not pervert like that, but you probably know better, since windows was chosen for the git server ...
Methods known to me: through HTTP, GIT and SSH protocols.
Where,
a) HTTP - Authorization is configured at the HTTP server level and is proxied to Git. In Windows, as far as I understand, it should be IIS according to the logic of things (otherwise, why do we need Windows at all, for these purposes?), respectively, configure authorization on it
b) GIT - I have never used it, because Initially, the "native" Git protocol did not even support authorization (perhaps something has changed now, but this is unlikely).
c) The SSH protocol, due to special reasons, was built into windows quite badly when I was dealing with this issue, but something may have changed.
Simply, you create a script that will be run from the scheduler, for example, once a week, and it does either
: then something else), but if there is a possibility of changes in the repository during archiving, I would use the following option, or disable the repositories for the duration of archiving
b) Push, using the same script, to remote clones of repositories configured according to the principle described above. Or once a week "git pull" from a remote repository. All of this is well documented here .
Nothing much different from the previous point.
Not at all :D

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question