https://habrahabr.ru/company/mailru/blog/318508/
[code]
git branch –merged <BRANCH> | grep -v "<BRANCH>" | xargs -n 1 git branch -D
git branch –merged | grep -v "master" | xargs -n 1 git branch -d
[/code]
don’t forget about sudo
git log
--author=""
– print commits by pointed user--name-only
– only file name--oneline
– commits comments in one line--graph
– commits tree--reverse
– old commits before new commits--after
– commits after pointed date--before
– commits before pointed dateTo make an exact duplicate, you need to perform both a bare-clone and a mirror-push.
[code language=”java”]
git clone –bare <reponame>
# Make a bare clone of the repository
cd <reponame>
git push –mirror <newreponame>
# Mirror-push to the new repository
[/code]