• +91 9723535972
  • info@interviewmaterial.com

GIT Interview Questions and Answers

Related Subjects

Question - Name a few Git commands and explain their usage.

Answer -

          Below aresome basic Git commands:

Command

Function

git rm [file]

deletes the file from your working directory and stages the deletion.

git log 

list the version history for the current branch.

git show [commit]  

shows the metadata and content changes of the specified commit.

git tag [commitID] 

used to give tags to the specified commit.

git checkout [branch name]

git checkout -b [branch name]

used to switch from one branch to another.

creates a new branch and also switches to it.

Comment(S)

Show all Coment

Leave a Comment




NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners