Category: GIT Made EASY

Working With Multiple Developer In A Single GIT Repository

Working With Multiple Developer In A Single GIT Repository

Generally, when we work with a project or repository in a team, then the project management becomes a bit complicated – especially working with multiple developers at the same time. The method used by Git to solve this problem is remarkable. Many developers will be able to work in the same repo without losing any work or code. Without further ado, let’s see how multiple developers can work in the same repository.

Read More Read More

Creating GIT Repository and Using It

Creating GIT Repository and Using It

Suppose, you want to create a routine management system and want to name the repository folder as rms.

Or just crate the folder or directory with a GUI file manager.
Now use cd to enter your repository

To make the current folder a GIT repository write the following command.

This will allow you to create your repository and it will create a hidden folder called .git. Your repository is now ready to go. You can now create, edit, and delete files, folders in any form and commit changes. If your repositor reaches stable conditions, then they should be sent to staging area. Sending to the staging area means that you will be able to list the files that you add to the repository. If you want to connect all of the existing files in the staging area, then you write and run the following command.

The last thing you need to do is to commit the files added to your staging area to the original repository. For that you have to use the git commit command. You have to attach a message to every commit.

Here you can write any text you want in the place of “Your Message”. Just try to keep it meaningful.