Initializing a Project in Git

 Initializing a Project for the first time in Git

  1. Create a new Java Project in Eclipse and add required Java classes/application code


  1. Go to the Location where your project is stored i.e. in the eclipse workspace and open git bash there and type: "git init"






 2. Create a new Repository on Github web




3. Now, do: "git remote add origin https://github.com/kadukrunal/<project_repo_name>.git"
4. Now, one can push data to the master branch





Comments

Popular posts from this blog

Jenkins CICD in One Page

Why do we need a build tool?

Deutsche Bank Interview Questions - 2024