---
title: "Rticles: cheat sheet"
description: document template for scientific report
output: 
  blogdown::html_page:
    self_contained: true
link-citations: true
colorlinks: yes
# bibliography: [files/book.bib, files/pkgs.bib]
csl: https://www.zotero.org/styles/apa
editor_options: 
  chunk_output_type: console
---

## Git

***
***

### Importar cambios

```{bash, eval = F}
git pull
```

### Enviar cambios

```{bash, eval = F}
git add .
git commit -m "message"
git push 
```

### Re-escribir archivos locales a origen

```{bash, eval = F}
git fetch --all
git reset --hard origin/master
git pull origin master

```

### Forzar envio de cambios

```{bash, eval = F}
git push -f origin master
```

### Revertir cambios

```{bash, eval = F}
git reset --hard <commit>
```

