How to make a certain commit the latest in a repository (deleting all following commits): git reset –hard CommitId git push -f origin master (from https://stackoverflow.com/questions/40245767/delete-commit-on-gitlab )
-
-
GIT list status on all directories
To list status on all git repositories in a folder: find . -maxdepth 1 -mindepth 1 -type d -exec sh -c '(echo {} && cd {} && git status -s && echo)' \; (from https://coderwall.com/p/grmruq/git-status-on-all-repos-in-folder)