Me pasaba porque el explorador de windows estaba bloqueando algo. Al cerrarlo se solucionó.
git: Error: cannot stat 'web/blocks/folder': Permission denied
10/08/2015 - 27/12/2018 - Comentarios - git Erroresgit: Error: fatal: Unable to mark file
10/08/2015 - 27/12/2018 - Comentarios - git Errores
Después de ejecutar: git update-index --assume-unchanged nombreFichero Me pasaba porque era un fichero nuevo del que no se había hecho commit. Para que deje ignorarlo hay que haber hecho commit (no push) primero.
git: Hacer que funcione el envío de e-mails con Gitlab
10/08/2015 - 27/12/2018 - Comentarios - git GitLab
Para que funcione el envío vía smtp se modifican los siguientes ficheros: * /opt/gitlab/embedded/service/gitlab-rails/config/environments/production.rb * /opt/gitlab/embedded/service/gitlab-rails/config/initializers/smtp_settings.rb
git: Modificar IP pública de un servidor Gitlab
10/08/2015 - 27/12/2018 - Comentarios - git GitLab
Para modificar la IP pública y el nombre del servidor modificamos: /etc/gitlab/gitlab.rb /var/opt/gitlab/nginx/conf/gitlab-http.conf /etc/hosts /opt/gitlab/embedded/service/gitlab-rails/config/gitlab.yml /opt/gitlab/embedded/service/gitlab-rails/c...
git: Hacer backup de gitlab
10/08/2015 - 27/12/2018 - Comentarios - git GitLab
Revisar estos enlaces: http://www.icicletech.com/blog/gitlab-backup-made-easy https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/raketasks/backup_restore.md
git: Instalar gitlab
10/08/2015 - 17/12/2018 - Comentarios - git GitLab
Para ubuntu 14.04: 1) sudo apt-get install curl openssh-server ca-certificates postfix 2) curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.deb.sh | sudo bash Si el paso anterior no funciona descargar el script con wget...
git: Listar todas las configuraciones localles
10/08/2015 - 27/12/2018 - Comentarios - git General
git config --list
git: Hacer un checkout de una rama
10/08/2015 - 28/09/2015 - Comentarios - git Ramas
Se hace con el siguiente comando: git checkout --track origin/nombreRama Es posible que en algunos casos no haga el checkout, en esos casos hay que ejecutar: git remote update Y volver a ejecutar el comando. Más info sobre este problema aquí: http...
git: Crear una rama local haciendo una copia de otra
10/08/2015 - 22/02/2017 - Comentarios - git Ramas
git checkout -b new_branch old_branch
git: Resetear una rama local para que coja el contenido del remoto
10/08/2015 - 10/12/2015 - Comentarios - git Ramas Resetear ramas
git reset --hard origin/develop A veces, después de hacer un reset hard pueden quedar ficheros untracked en local, para que no aparezcan hacemos: git clean -f -d git clean lo que hace es eliminar todos los ficheros sin trackear Más info aquí: http...