SOFTWARE ENGINEERING

EMERGING TRENDS IN SOFTWARE ENGINEERING

DEVOPS

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Git command ____ used to give tags to the specified commit
A
git checkout [branch name]
B
git show [commit]
C
git tag [commitID]
D
git rm [file]
Explanation: 

Detailed explanation-1: -Tag the commit with this command: git tag-a M1 e3afd034-m “Tag Message” Specify the tag in the git push command:: git push origin M1. 06-Oct-2021

Detailed explanation-2: -Git allows you to do so. To create a tag from an older commit, run the below command: < git tag <tagname> < reference of commit>

Detailed explanation-3: -Commit IDs are unique SHA-1 hashes that are created whenever a new commit is recorded. If you specify a commit ID when you add a repository, Domino will always pull the state of the repository specified by that commit in a detached HEAD state.

Detailed explanation-4: -Track Files. After making changes to existing files or adding new ones to the repository, add all files to the staging environment by running: Create Commit. Create a commit using the git commit command. Create Tag. Sync Changes with Remote. 30-Aug-2022

There is 1 question to complete.