Closed jahirraihan22 closed 2 years ago
git status
git init
git add .
git commit -m "message"
git config --global user.email "your@example.com"
git config --global user.name "your name"
# show git commit history
git show commit_id
# show git log
git log --oneline
git rm test.txt
git mv test.txt
git switch branch1
git diff
git diff --cached
git restore --staged filename.xyz
git diff precommit_id..currentcommit_id
git revert Head
git reset --hard commit_id
create 10 files same pattern