×
Clear all filters including search bar
Valeri Tandilashvili's Git Notes
git log --stat
git reflog
git commit --amend -m 'the commit message'
git branch --merged
git clone ../remote_repo.git .
git reset / git reset HEAD / git reset HEAD . / git restore --staged .
Remove index.html
from staging areagit reset index.html / git reset HEAD index.html / git restore --staged index.html
-n
option before running the commandgit clean -n / git clean -fX -n / git clean -fx -n
Deletes untracked files that are not stagedgit clean -f
Deletes ignored files onlygit clean -f -X / git clean -fX
Deletes ignored and non-ignored (untracked files that are not staged) filesgit clean -f -x / git clean -fx
does not work on windows
add
commandgit help add / git add --help