Results: 102
git restore --staged
Removes
index.html
file from staging area
git restore --staged index.html
Removes all files from staging area
git restore --staged .
Alternative command is:
git reset HEAD index.html  /  git reset HEAD .
Clears previous console info
also works on windows PowerShell
git add index.*
Adds all types of files with name
index
(except deleted index.* files)
git add index.*
Adds all modified and new .html files to staging area (except deleted ones)
git add *.html
Remove new files from staging area
git rm --cached new.file
Shows current version of Git installed
git --version
Download Git repository
git clone
Initialize local Git repository
git init
Add files to staging area
git add
Check status of working tree
git status
Save changes to local repository
git commit
Pull latest commits from remote repository
git pull
Push local commits to remote repository
git push
git pull
Download other developers commits from master branch to our local repository
git pull origin master
Pushes new commits to the same remote branch
git push
To see remote URLs
git remote -v
Add remote repository URL
$ git remote add origin https://github.com/tandilashvili/testproject.git
Setting remote repository URL
git remote set-url origin https://github.com/tandilashvili/testrepo.git
Results: 102