diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..f6d5eed --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +.idea +.vscode +node_modules \ No newline at end of file diff --git a/README.md b/README.md index 67adc4e..a4a4379 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,24 @@ # git-webinar -qweqwe \ No newline at end of file +- Create repo with readme + - `git clone git@...url` +- `git init` + - `git remote add origin git@...url` +- создаём файл `.gitignore` (со списком игнорируемых файлов) +- `git add .` +- `git commit -m 'initial commit'` +- `git push origin master` + +- `git checkout -b gh-pages` +- Пишем код +- `git add .` +- `git commit -m 'COde for review'` +- `git push origin gh-pages --set-upstream` + +- Создаём **Pull Request** на Github + - base: `master` + - compare `gh-pages` +- Github -> settings выбираете ветку `gh-pages` для публичной страницы +- ссылку на публичную страницу добавляете в описание **Pull Request** +- ссылку на **Pull Request** присылаете на проверку + diff --git a/index.html b/index.html index 295e903..a3bcba4 100644 --- a/index.html +++ b/index.html @@ -19,7 +19,7 @@
-

Git Webinar

+

Git Webinar GH PAGES

Main content