0

Recently i am asked to move my projects to git.Can please someone tell me how to achieve the following.

i have my project in our local server, I create a local repository using git init.

Then i create a new project in git server and add the remote URL to my local repository. After that i do git push.

Now my project development is done by 3 developers simultaneously.

Now how to do i achieve this?

Suppose if i am creating a TAG after every new release.

Now if i want to give a hot fix for 4 version before my main release how do i do this?

1
  • your question is too broad. See this page on how to improve. Commented Jul 6, 2015 at 7:02

1 Answer 1

1

Git is the ultimate tool for samll groups or for large groups.

There are several ways to work with git but before that you need to know your way around and to understand what is GIT.

Im recommending you to first all to watch this GIT into - Introduction to Git with Scott Chacon of GitHub

Once you feel you know your way around start to think about the desired workflow


Git Flow

Git flow is one of the most popular git workflow out there. It has a very solid structure + scripting that does all the logic for you, it supports what you asked to have development branch along with hotfix.

It handle the creation, merging, deletion and more with build in scripts.


Now my project development is done by 3 developers simultaneously.
How to do i achieve this?

  • Every member of your project should clone the repository via git clone
  • Give then permission(s) to write (push) to the repository
  • From this point each one is working on his own copy and updating the remote repository.

Suppose if i am creating a TAG after every new release.
Now if i want to give a hot fix for 4 version before my main release how do i do this?

Git Flow does it all for you. It create branched, merge, tag and more. Simply start using it.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.