From 32ec92d3c10890975495e221e040c7d96d7c4eb6 Mon Sep 17 00:00:00 2001 From: Kirill Saksin Date: Fri, 20 Sep 2019 13:03:41 +0300 Subject: [PATCH] Added manual for linux/macos/cygwin/git-bash --- README.en.md | 18 ++++++++++++++++++ pre-readme.md | 17 +++++++++++++++++ 2 files changed, 35 insertions(+) diff --git a/README.en.md b/README.en.md index 536af80db..3aa7d50c6 100644 --- a/README.en.md +++ b/README.en.md @@ -35,3 +35,21 @@ You can sign this letter by creating a file with a random name (an easy way to c ``` Name Surname | Position, company ``` + +## Linux / MacOS / Cygwin (git bash) + +```bash +# Here YOUR_FORK - your fork of this repository +git clone ${YOUR_FORK} +cd case-212 +# YOUR_GITHUB_USERNAME - username on github, such naming of branch is optional, +# you can name your branch however you want, but don't forget to change git push command as well! +git checkout -b signature/${YOUR_GITHUB_USERNAME} +cd signed +# YOUR_SURNAME - surname, YOUR_NAME - first name, POSITION - position at your company, COMPANY - your company +echo "${YOUR_SURNAME} ${YOUR_NAME} | ${POSITION}, ${COMPANY}" > $(uuidgen) +git commit -a -m 'Signature from ${YOUR_GITGUB_USERNAME}' +git push origin signature/${YOUR_GITHUB_USERNAME} +# time to create pull-request! +``` + diff --git a/pre-readme.md b/pre-readme.md index 7b3d3bfbd..ee5ab0940 100644 --- a/pre-readme.md +++ b/pre-readme.md @@ -38,6 +38,23 @@ Фамилия Имя | Должность, компания ``` +## Linux / MacOS / Cygwin (git bash) + +```bash +# Здесь YOUR_FORK - ваш форк этого репозитория +git clone ${YOUR_FORK} +cd case-212 +# YOUR_GITHUB_USERNAME - ваше имя пользователя в github, такое именование ветки опционально, +# вы можете выбрать удобный вам способ именования, но не забудьте поменять имя и на git push! +git checkout -b signature/${YOUR_GITHUB_USERNAME} +cd signed +# YOUR_SURNAME - фамилия, YOUR_NAME - имя, POSITION - должность, COMPANY - компания +echo "${YOUR_SURNAME} ${YOUR_NAME} | ${POSITION}, ${COMPANY}" > $(uuidgen) +git commit -a -m 'Signature from ${YOUR_GITGUB_USERNAME}' +git push origin signature/${YOUR_GITHUB_USERNAME} +# идём создавать pull-request +``` + *** ## Подписавшиеся