×
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 PowerShellindex (except deleted index.* files)git add index.*git add *.htmlgit rm --cached new.filegit --versiongit 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 pushgit pull origin mastergit pushgit 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