git tag <tag name> [commit hash]git switch <tag name>git switch maingit branch tempgit switch tempgit branch -f main tempgit switch maingit switch maingit merge HEAD@{1}git branch -d tempgit rebase -i with edit mentioned next to
commitcommmit --amend scenariogit rebase --continuegit commit --amendgit addgit rmgit commit --amendgit rebase -i"Forward-port local commits to the updated upstream head"
– git rebase man page
git rebase -i$ git rebase -i HEAD~3 pick b65221c Adjusted RightLeftAuton and fixed auto-shifting pick d9aaab3 changes autonomous claw angle pick 380719d Added noop autonomous # Rebase efb7586..380719d onto efb7586 # # Commands: # p, pick = use commit # r, reword = use commit, but edit the commit message # e, edit = use commit, but stop for amending # s, squash = use commit, but meld into previous commit # f, fixup = like "squash", but discard this commit's log message # x, exec = run command (the rest of the line) using shell
git rebase --onto main client

git rebase --onto main client

git switch maingit merge client

git switch maingit merge client

git rebase --onto main server

git rebase --onto main server

git switch maingit merge servergit branch -d clientgit branch -d server

git switch maingit merge servergit branch -d clientgit branch -d server

git filter-branch --tree-filter 'rm -f largeFile.out'
HEADgit filter-branch --tree-filter 'rm -rf *'
HEADgit <command> --helpman git-<command>