Commit 7433b92b authored by Nick Matvyeyev's avatar Nick Matvyeyev

Developers-memo.org added

parent 3f584b7a
* Операции git
** Добавлние удаленных репозиториев
#+BEGIN_SRC bash :results none
git remote remove github.com
git remote add github.com git@github.com:mnasoft/xlsx.git
git remote remove common-lisp.net
git remote add common-lisp.net git@common-lisp.net:nmatvyeyev/xlsx.git
git remote remove gitlab.com
git remote add gitlab.com git@gitlab.com:mnas-fork/xlsx.git
#+END_SRC
** Перечень удаленных репозиториев
#+BEGIN_SRC bash
git remote
#+END_SRC
#+RESULTS:
| KO11-118383 |
| MNASOFT-01 |
| MNASOFT-10 |
| N118389 |
| common-lisp.net |
| mnasoft-00 |
| mnasoft-dev |
| mnasoft-pi |
** Коммит изменений
#+BEGIN_SRC bash :results none
DATE=`date`
git commit -a -m "$DATE"
#+END_SRC
** Получение изменений с удаленных серверов
#+BEGIN_SRC bash :results none
for i in github.com gitlab.com common-lisp.net
do
git pull ${i} master
done
#+END_SRC
** Публикация изменений на удаленных серверах
#+BEGIN_SRC bash :results none
for i in github.com gitlab.com common-lisp.net
do
git push ${i} master
done
#+END_SRC
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment