GIT

git helper

configuracja

git config pull.rebase true

squash current with to previous

git reset --soft HEAD~2 && git commit -m 'squashed'

remote rename

Ustawienie innego brancha jako remote:

git remote rename origin rpi
git remote rename github origin
git config branch.master.remote origin
cat .git/config
[branch "master"]
        remote = origin
        merge = refs/heads/master
        vscode-merge-base = origin/master
git pull --rebase
git log -1 --oneline