GIT Notes#
How to rename folder#
git mv path_to_ff/oldName temp && git mv temp path_to_ff/newName
followed by git commit
and git push
.
How to delete all merged local branches#
git branch --merged | grep -v \* | xargs git branch -D
Used commands#
git commit --no-verify
git push origin --delete branch_name
git reset --hard commit_hash