Skip to main content
  1. Learn
  2. Software Development
  3. Guides
  4. Git tutorial
  5. CĆ³mo usar Git
  6. CĆ³mo usar Git en LĆ­nea de Comandos
  7. Subir desde un repositorio clonado
GuidesSoftware DevelopmentBacklog
Git

Project and code management together.

Subir desde un repositorio clonado

A continuaciĆ³n, podemos subir desde el repositorio clonado que acabamos de crear.

En primer lugar, aƱada el texto en negrita a sample.txt en el directorio reciƩn clonado y confirme el cambio.

Anyone can learn Git with this tutorial and Backlog add: Register a change in an index

$ git add sample.txt
$ git commit -m "append description of the add command"
  [main 1ef5c8c] append description of the add command
  1 files changed, 1 insertions(+), 1 deletions(-)

Now use the git push command to push the new commit to the remote repository.

Puede omitir el nombre del repositorio y de la rama cuando ejecute un push en un directorio de repositorio clonado.

$ git push
  Username: <username>
  Password: <password>
  Counting objects: 5, done.
  Delta compression using up to 4 threads.
  Compressing objects: 100% (2/2), done.
  Writing objects: 100% (3/3), 351 bytes, done.
  Total 3 (delta 0), reused 0 (delta 0)
  To https://example.backlog.com/git/BLGGIT/tutorial.git
      486789c..1ef5c8c  main -> main

Ahora encontrarĆ” la confirmaciĆ³n reciĆ©n enviada en Backlog. AparecerĆ” en "Recent Updates" en la pĆ”gina Git de Backlog.

The commit you have just pushed has been added to the lastest update.

Subscribe to our newsletter

Learn with Nulab to bring your best ideas to life