Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Loic Marx
advanced-practice
Commits
aeb08c07
Commit
aeb08c07
authored
Aug 29, 2019
by
Daniel Duarte
Browse files
add and minor adjust README
parent
1a35f6cd
Changes
1
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
aeb08c07
# practice
<img
src=
"assets/img/r3-training-logo.png"
height=
"150px"
/>
# Advanced git course - Practice repository
## How to get started?
-
Fork this repository by clicking on the
`Fork`
button on the top right of this page.
-
Clone your forked repository to your local computer.
:warning:
**Make sure that you have your SSH key and `git` properly configured**
.
```
bash
$
git clone git@github.com:<yourName>/advanced-git-practice.git
```
## Create your own branch
The development scheme is based on a stable
`master`
branch and a development branch named
`develop`
.
Before making changes, create your own branch from
`develop`
:
```
bash
$
cd
advanced-git-practice
$
git checkout develop
# this switches the branch to develop
$
git checkout
-b
myBranch
# this checks out a new branch called myBranch
```
## Make your changes
Copy the file
`template.md`
in the folder
`_attendees`
and rename it with your firstname:
```
bash
$
cd
_attendees
$
cp
template.md myName.md
```
Then, make your changes with your favorite editor!
## Commit your changes and push
When you are done editing your file, add the file to the stage and commit it:
```
bash
$
git add myName.md
$
git commit
-m
"Edit the content of the subpage myName.md"
```
Once you are done committing, you can push your branch to your fork:
```
$ git push origin myBranch
```
## Open a pull-request
If you now browse to your fork on Github, you can open a pull request and submit it for review.
:warning: Please make sure to select
`develop`
as the target branch.
:warning: Watch out for comments from the reviewer! If there are things to be changed, simply change locally, commit,
and then push again. The pull-request will update automatically.
Once the pull request has been accepted, you will be able to see your page online! :tada:
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment