Git Product home page Git Product logo

miproyectoxx's Introduction

Udemy Curso Completo de Git y github para principiantes

Referencia

Curso completo de git y github para principiantes

Contenido

  • Configurar el git en el pc
    git config --global user.name "**Tu_usuario**"
    git config --global user.email "**TuCorreo**"
  • Inicicializar el proyecto
git init
  • Ver el estado del proyecto
git status
  • preparar archivos para enviarlos al reposotorio
git add Nombrerchivo
git add . (todos los archivos)
  • Sacar archivos antes de envialos al repositorio, lo contrario a git add
git rm --cache NombreArchivo
  • Ignorar archivos para no ser enviados al repositorio, dentro del archivo .gitignore se coloca todo lo que se quiera ignorar
touch .gitigore
  • Ver el log en un sola linea
git log --online
  • Cambiar a una version anterior usando el datos de git log --online, Esta opcion es MUY PELIGROSA, ya que puede perder codigo.
git checkout 14b0284
  • Ver cuantas ramas hay
git branch
  • Ira la rama master
git checkout master
  • Creacion de una nueva rama
git checkout -b ramafooter
  • Unir ramas
git merge ramafooter
  • Elimnacion de ramas
git branch -d ramafooter
  • push an existing repository from the command line

git remote add origin [email protected]:terracenter/miproyectoxx.git git branch -M main git push -u origin main

NOTA: Es recomendable enviar al servidor remoto (control de versiones) por lo menos una ves al dia los cambios realizados al codigo, depues de cada commit

miproyectoxx's People

Contributors

terracenter avatar

Watchers

 avatar  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.