Skip to content

sirinyarar/favorite-cmd-commands

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

favorite-cmd-commands

git init

The git init command is used to generate a new, empty Git repository or to reinitialize an existing one.

git add or git add .

to add files to a new commit

git commit -m ""

It is used to record the changes in the repository.

git checkout -- or git restore

Resets a file to how it was in the last commit

git log

The git log command shows a list of all the commits made to a repository.

git log -p

Shows all commits and the content of the files

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors