Git Cheat Sheet Command Page

Initialize an empty repository with either an empty folder or an already filled folder.

git init

Add files or folders to be committed

git add .

Commit files or folders

git commit -m "Commit Message"

Add Git Repository Address

git remote add remote_git_repository_name remote_git_repository_url_address

Display Configured Git Repository Address

git remote -v

Remove Configured Git Repository Address

git remove git_repository_url_address

Display Git Local Repository Configuration

git config --list

Leave a Reply