Instalar Git y Visual Studio Code en Raspberry Pi

1. Git en Raspberry

1.1 Instalar Git en Raspberry

  • Instalar Git en Raspberry
  • Crear un Repositorio y subirlo a Github
sudo apt install git
Screenshot by Eduardo Padron
Screenshot by Eduardo Padron

1.2 Configurando Git

git config --global user.name "usuariogit"git config --global user.email "emailusuariogit@mail.com"
Screenshot by Eduardo Padron
Screenshot by Eduardo Padron
git config --global core.editor nano
Screenshot by Eduardo Padron

1.3 Creando nuestro primer proyecto

lscd Desktopmkdir snitch-sniffercd snitch-sniffer
Screenshot by Eduardo Padron
nano README.md
Code by Eduardo Padron
Screenshot by Eduardo Padron
Screenshot by Eduardo Padron
ls
git init
Screenshot by Eduardo Padron
ls -a
. .. .git README.md
ls -a .git
`git add README.md
git add — all
git status
git commit -am “add README.md”
Screenshot by Eduardo Padron

1.4 Trabajando con un Github

Image by Raspberry Pi from Raspberry Pi
Image by Raspberry Pi from Raspberry Pi
Image by Raspberry Pi from Raspberry Pi
git remote add origin git@github.com:HarryPotter/snitch-sniffer.git
git push -u origin master
Image by Raspberry Pi from Raspberry Pi
git push origin master
git push origin <branch-name>

2. Instalar Visual Studio Code en Raspberry.

2.1 Instalación

sudo apt updatesudo apt full-upgradesudo apt install code -y
Screenshot by Eduardo Padron

--

--

Hydraulic Engineer / Hardware and Software Developer. Science, technology and research enthusiast , development of IoT projects.

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store