ubuntu - Need a confirmation if I am on the right track GIT configuration -
i used using clearcase our version management in past. handed task of configuring git @ new job. since confgiration of git different traditional clearcase etc.., wanted blessings experts before go deep configuration.
background : have multiple applications maintained in git. web-apps , other custom developed app. have 8 developers ( work on same project but, different files, ). our developers use windows/ubuntu platform.
with in mind, have done far: on ec2 server runs ubuntu, have installed git repository.
- i have created 1 repository far ( need create 6 more ) 1 of project. repository contains multiple subdirectories, project structure requires.
- for single repo created, have commited initial version using git machine.
- each developer using repo has been asked install git locally , have been asked sync code git repository local machine. can work on changes on local machines , push git later.
- each user can access mutiple repos.
- the actual applications hosted on multiple servers. so, git, plan extract code , migrate different servers. not sure how that. but, figure out.
what wanted make sure if on right path of configuring git? or making grave mistake in steps above. p.s : sorry long question
karthik
yes: 1 git repo per component/application best practice follow.
mention in "clearcase git migration".
see differences between clearcase , git in answer.
the op adds:
i have users login git repo in server using ssh -using
.pem
file server rather having individual user accounts git.
ok way go providing access.
this link tells me there should 3 states git. .git
repository server hosts repo. working directory developer's git installation, right? should have staging state? kindly clarify?
you can use ssh access remote git repo suggest, but:
- that remote repo must bare repo, meaning repo .git (no index or working tree)
- it can include post-receive hook in order trigger deployment (starting checkout of bare repo in folder)
any clone of ssh-accessed bare repo full git repo, 3 states in (a .git, index , working tree).
each individual git repo, cloned developers on workstations, has states.
Comments
Post a Comment