git tag -d 0.17.0
git push origin :0.17.0
git checkout master
git tag 0.17.0 -m "0.17.0"
git push --tags
git clone [email protected]:something.git
git clone git@gitlab_2:something.git
code ~/.ssh/config
Host gitlab.com
HostName gitlab.com
IdentityFile ~/.ssh/id_rsa
User Username_1
Host gitlab_2
HostName gitlab.com
IdentityFile ~/.ssh/id_rsa_2
User Username_2
git clone ssh://something.git
git remote set-url origin ssh://something_2.git
git checkout master
git config --global core.editor "code --wait"
export EDITOR='code --wait'
git config core.filemode false
git fetch --all
git reset --hard origin/dev
git checkout -b newbranch
git push -u origin newbranch
git merge master
git pull --rebase origin master
git branch --set-upstream-to origin/branch
git push --set-upstream origin branch
https://htmlacademy.ru/blog/useful/git/how-to-squash-commits-and-why-it-is-needed
git rebase -i HEAD~2
squash
fixup
git log
git push --force
git rebase -i commit^ will start the rebase at the commit you want to spliteditgit reset HEAD^git add to carefully and incrementally add changes to the indexgit commit when you have a set of atomic changes that you are ready to commitgit add and git commit process until you have processed each set of changes represented by the commitgit rebase --continue to resume or finish the rebasegit fetch
git checkout branch
git merge origin/master
git checkout -b new-branch
git reset --hard origin/master
git merge --squash branch
https://www.git-tower.com/learn/git/faq/change-author-name-email/