by
Q:
Name a few Git commands and explain their usage.

1 Answer

0 votes
by

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.

Click here to read more about Loan/Mortgage
Click here to read more about Insurance

Related questions

0 votes
asked Sep 16, 2019 in BlockChain by john ganales
0 votes
asked Aug 31, 2020 in Service Now by AdilsonLima
+1 vote
asked Mar 9, 2020 in Spark Sql by SakshiSharma
0 votes
asked Feb 5, 2020 in Big Data | Hadoop by SakshiSharma
0 votes
asked May 7, 2020 in Image processing by SakshiSharma
...