Git

This section contains scripts related to Git:

git_author_date_initial

displays the initial author dates of the committed files

git_author_date_last

displays the last author dates of the committed files

git_cleanup

remove untracked files from the working tree and optimize a local repository

git_delete_branches

delete all local and remote branches from a given repository

git_delete_dsstore_files

delete all .DS_Store files from a given repository

git_get_hash

return the hash of the HEAD commit

git_get_short_hash

return the short hash of the HEAD commit

git_ignore_all

create a .gitignore file ignoring everything for a given repository

git_is_working_tree_clean

check whether the Git working tree is clean

Related: Git Functions