Config Git on new location
* echo ".idea/*" >> .gitignore
* git commit -am "remove .idea"
Git refresh the list of remote branches
https://stackoverflow.com/questions/36358265/when-does-git-refresh-the-list-of-remote-branches
git remote update origin --prune
git branch -a
git log
git log --branches --not --remotes
git log origin/master..HEAD
git log --oneline
git log --oneline --branches
Git count number of commits between two branches
git log --oneline mybranch ^master
git log --oneline mybranch ^master | wc -l
git rev-list --count my-branch ^master
git rev-list --count master..my-branch
git cherry master | wc -l
git show f5f3fa6e012adf5d2caf2e1310421ad8258950d3 --name-only
git reset --soft HEAD~1
git status
git log --oneline
git revert 453436346
* git verify-pack -v ./.git/objects/pack/pack-......ea.pack
Fetch with update repos list
get last updates and abord if conflict
git fetch && git pull --rebase
git rebase --abord
git fetch -p -a && git pull --ff-only && git rebase master
git fetch -p && git pull && git rebase master && git rebase develop
git remote update origin --prune
git stash
git pull
git stash apply
ignore folder and include