Last updated about 2 weeks ago

Git

Stash

Stash the changes in a dirty working directory away

Rebase

Make it look like your commit(s) were made on top of the latest head

Manual Rebase

Tags

Mark a point in commit history (useful for releases and such)

Submodules

Make a repository a subdirectory of another repository

Worktrees

Make a directory for each working branch

Log

Git log can be used in conjunction with touch command to reset file timestamps to match their last motified times:

touch -d $(git log -1 --pretty="format:%ad" --date=format:'%Y-%m-%d%H:%M:%S' $file) $file

Maintenance

Run tasks to optimize Git repository data, speeding up other Git commands and reducing storage requirements for the repository.

~ git-scm.com/docs/git-maintenance

cd my-repository
git maintenance run