You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ npm install -g mkg # устанавливаем глобально
$ alias gist=mkg # чтобы мы работали с данным пакетом, как с gist
$ cat >~/.bash_aliases<<EOF # создаем и записываем алиасы
> alias edit=subl # на редактирование
> alias gist=mkg # на gist
> EOF
$ source~/.bash_aliases # активируем в окружении
Rename git branch locally and remotely
$ git branch -m old_branch new_branch # Rename branch locally
$ git push origin :old_branch # Delete the old branch
$ git push --set-upstream origin new_branch # Push the new branch, set local branch to track the new remote