Git Notes

 October 12, 2021 at 8:42 pm
# Rebase

## Change last commit

git commit --amend --date "$(date)"

# MISC

## Add tag

git tag -a <tag> <commit>
git push --tags

## Delete file in commit (but not in FS)

git rm <file_name> --cached