Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lcsb-biocore/basic-git-practice
Basic git course - Practice repository
https://github.com/lcsb-biocore/basic-git-practice
basic course git jekyll practice website
Last synced: about 1 month ago
JSON representation
Basic git course - Practice repository
- Host: GitHub
- URL: https://github.com/lcsb-biocore/basic-git-practice
- Owner: LCSB-BioCore
- Created: 2019-06-06T18:56:53.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-02-21T10:29:35.000Z (almost 2 years ago)
- Last Synced: 2023-10-05T02:16:22.968Z (over 1 year ago)
- Topics: basic, course, git, jekyll, practice, website
- Homepage: https://git.io/basic-git-practice
- Size: 119 KB
- Stars: 2
- Watchers: 3
- Forks: 50
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Basic 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 [email protected]:/basic-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 basic-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 `firstnameLastname.md` in the folder `_attendees` and rename it with your first and last names:
```bash
$ cd _attendees
$ cp firstnameLastname.md myFirstnameMyLastname.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 myFirstnameMyLastname.md
$ git commit -m "Edit the content of the subpage myFirstnameMyLastname"
```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: