Skip to content

Entrega 3.1 - añadido autores : Víctor Hugo Bazán Milla - Enrique Pardo Vázquez-Bruno#14

Open
vhbazan wants to merge 15 commits into
jquemada:masterfrom
vhbazan:master
Open

Entrega 3.1 - añadido autores : Víctor Hugo Bazán Milla - Enrique Pardo Vázquez-Bruno#14
vhbazan wants to merge 15 commits into
jquemada:masterfrom
vhbazan:master

Conversation

@vhbazan

@vhbazan vhbazan commented Dec 7, 2011

Copy link
Copy Markdown

Los pasos seguidos han sido los siguientes:
1.realizamos una clonación del proyecto vuestro en nuestra cuenta de github
2. git clone https//github.com/vhbazan/planet planet_lswc
3. cd planet_lswc
4. git log --oneline

6f62b53 Vistas y CSS mejorado con marco externo corregido
7078b7b Vistas y CSS mejorado con marco externo
619baa9 Mejorar vistas de sites v2
2705ba9 cambios modelo y migración site
1384451 creación de scaffold site
188799e migración base de datos
e7ebc85 creación de scaffold Type
8b511bd añadir accion ejemplo
53c4c20 vistas index y contact, y redirección de route
973751d rails generate controller Planet index contact
27ec176 new planet creado

  1. git reser --hard 188799e
  2. git checkout 8b511bd
  3. git branch entrega3.1
    git branch -v
  4. (no branch) 8b511bd añadir accion ejemplo
    entrega3.1 8b511bd añadir accion ejemplo
    master 188799e [behind 5] migración base de datos
  5. git checkout entrega3.1
    [realizamos las modificaciones pedidas y una vez que funcione correctamente]
  6. git add .
  7. git commit -m 'añadido autores'
    [entrega3.1 21aa5ad] añadido autores
    6 files changed, 12 insertions(+), 2 deletions(-)
    create mode 100755 app/assets/images/Avatar-1-ld.png
    create mode 100644 app/assets/images/epardo.jpg
    create mode 100644 app/views/planet/author.html.erb
  8. git checkout master
  9. git branch -v
    entrega3.1 21aa5ad añadido autores
  10. master 188799e [behind 5] migración base de datos
  11. git merge entrega3.1
    Auto-merging config/routes.rb
    Merge made by recursive.
    app/assets/images/Avatar-1-ld.png | Bin 0 -> 5311 bytes
    app/assets/images/epardo.jpg | Bin 0 -> 88361 bytes
    app/controllers/planet_controller.rb | 4 ++++
    app/views/layouts/application.html.erb | 5 +++--
    app/views/planet/author.html.erb | 1 +
    config/routes.rb | 2 ++
    6 files changed, 10 insertions(+), 2 deletions(-)
    create mode 100755 app/assets/images/Avatar-1-ld.png
    create mode 100644 app/assets/images/epardo.jpg
    create mode 100644 app/views/planet/author.html.erb
  12. git push origin master
    To https://github.com/vhbazan/planet
    ! [rejected] master -> master (non-fast-forward)
    error: failed to push some refs to 'https://github.com/vhbazan/planet'
    To prevent you from losing history, non-fast-forward updates were rejected
    Merge the remote changes (e.g. 'git pull') before pushing again. See the
    'Note about fast-forwards' section of 'git push --help' for details.
  13. git push origin +master:master
    Counting objects: 41, done.
    Delta compression using up to 2 threads.
    Compressing objects: 100% (21/21), done.
    Writing objects: 100% (22/22), 67.68 KiB, done.
    Total 22 (delta 9), reused 0 (delta 0)
    To https://github.com/vhbazan/planet

El error del 14 lo fuerzo a que haga el push ... la verdad que éste asunto no me quedó muy claro, se lo comentaremos en clase el próximo día mi compañero y yo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant