Git Product home page Git Product logo

labsite's Introduction

Valenzano lab website repo

This document contains the instructions on how to contribute to the development and maintenance of the Valenzano lab website at the Leibniz Institute on Aging.

The Valenzano lab website is written in RMarkdown and is built using the Distill package.

---
title: "Valenzano Lab"
description: |
  Evolution and ecology of aging 
site: distill::distill_website

output:
  distill::distill_article:
    theme: theme.css
---

If you are a member of the Valenzano lab and are interested in actively contributing to the lab website, please do the following:

  1. get your own github account
  2. familiarize yourself with git, version control and markdown
  3. request to Dario to add you as a collaborator on this repo.

Once you are a collaborator on this repo, you can contribute to improving its content by issuing pull requests.

How to push changes to the 'master' branch

username$ git status
username$ git add .
username$ git commit -m "description of changes"
username$ git push -u origin main

How to create a new branch

username$ git branch -a # to list all your current branches
username$ git checkout master # to switch to the branch 'master'
username$ git checkout -b develop # creates a new branch named 'develop'

Now you can commit and push changes on 'develop'

username$ git checkout develop # puts you in the 'develop' branch in case you're not there
username$ git add .
username$ git commit -m "whatever" # commits your changes to the branch 'develop'
username$ git push -u origin develop # pushes your commits to the remote branch 'develop' 

Merging branches ('develop' into 'master')

username$ git branch -a
username$ git checkout master 
username$ git merge develop
username$ git push

Deleting a remote and local branch (don't do this unless you know what you're doing)

username$ git push -d origin develop # in this case we're deleting the branch 'develop'
username$ git branch -d develop

As a rule-of-thumb, do not push your changes to the 'master' branch.
Rather, first push your changes to a remote branch, like 'develop', and only then merge on the 'master' branch following the instructions above.

labsite's People

Contributors

dvalenzano avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.