Posts

Showing posts with the label add maven project in github

Adding an Existing Project to GitHub Repository

Image
The following steps to add the existing projects to add github repository Step 1: Create New Repository in your github id.             To avoid errors, do not initialize the new repository with README, license, or gitignore files. You can add these files after your project has been pushed to GitHub. Then to see the below image for creating new repository in your github  Here need to give the repository name, and need to choose the repository type i.e Public or private. Step 2:   After create the repository please note down the repository Url i.e SSH or HTTPS  For example : git@github.com:MedicalManager/MedicalMaster.git Step 3:  Then open the terminal for Mac, Linux users Or Open command prompt in Windows Step 4:  Change the current directory to Project directory using cd command on Linux and Windows Step 5:  After that initialize the git repository using the following command   ...