Git

git

Delete branch

git branch -d $branch

Delete remote branch

git push origin --delete $branch

Push branch to remote

git push -u origin $branch

Rebase preserving dates

git rebase -i --root --committer-date-is-author-date

Rename branch

git branch -m $old $new

Sign last commit

git commit --amend --no-edit -S

Show log

git log --oneline

Show remote

git remote -v

Undo git add

git reset $file

git lfs

Show files

git lfs ls-files

Show files in the entire history

git lfs ls-files --all