Question: Git has the ability to tag specific points in a repository's history as being important. Tagging lets developers mark important checkpoints their projects' development. 2
Git has the ability to tag specific points in a repository's history as being important. Tagging lets developers mark important checkpoints
their projects' development.
Files are already givenEmployeejava and Driver.java
In
commandsh enter the git commands to
Initialize git
Add ONLY Employee.java and Driver.java to git
Commit these files using the comment "Initial commit Employee and Driverjava"
In command sh enter the git commands to
Create a branch named "DEVfeature"
Switch to this new branch using checkout statement
Add the below code to Employee.java
public class Employee I
String name;
int id;
String designation;
double salary:
long phoneNo;
I
Add Employee.java to Git
Commit Employee.java file using the comment "Employee with additional attributes"
Create a tag named projectv with the tag message "Project Starter Code
Create a new fileby clicking the "new' button.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
