Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.idea
.vscode
node_modules
23 changes: 22 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,24 @@
# git-webinar

qweqwe
- 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** присылаете на проверку

2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
</header>

<main>
<h1>Git Webinar</h1>
<h1>Git Webinar GH PAGES</h1>

<section>
Main content
Expand Down