×
Clear all filters including search bar
Valeri Tandilashvili's Git Notes
index.html
file from staging areagit restore --staged index.html
Removes all files from staging areagit restore --staged .
Alternative command is: git reset HEAD index.html / git reset HEAD .
also works on windows PowerShell
index
(except deleted index.* files)git add index.*
git add *.html
git rm --cached new.file
git --version
git clone
Initialize local Git repositorygit init
Add files to staging areagit add
Check status of working treegit status
Save changes to local repositorygit commit
Pull latest commits from remote repositorygit pull
Push local commits to remote repositorygit push
git pull origin master
git push
git remote -v
Add remote repository URL$ git remote add origin https://github.com/tandilashvili/testproject.git
Setting remote repository URLgit remote set-url origin https://github.com/tandilashvili/testrepo.git