Questions tagged as 'git-commit'

1
answer

How do I edit an incorrect message in a git push?

I wrote something I did not want in the commit comment. git commit -m "comentario indeseado" git push How can I change or update the message? Eye, I've already pushed and I want to remove the message in the repository as well. Is i...
asked by 26.01.2016 / 18:00
3
answers

Return to previous commit

I work in a branch called master2 , the issue is that I made small changes in 1 file and when I tried to upload them, I made an error and I did git pull origin master and when doing push I found almost all the files in the re...
asked by 29.12.2016 / 12:04
2
answers

Hot fix between two remote git

I have two remote git repositories, one is test and the other is production git remote -v produccion https://[email protected]/deploy/pr1.git (fetch) produccion https://[email protected]/deploy/pr1.git (push) test https:/...
asked by 17.05.2017 / 22:32
1
answer

Doubt about git and create branches

I have a git project where I have the develop and master branch. I created a new branch with the command "git checkout -b feature / feature_test" Then I enter this branch and edit a file that is "carController.php". In between I want to make...
asked by 19.09.2018 / 18:42
3
answers

How to upload a project to a repository different from the one that was cloned?

I have a project to clone from a git repository, now I want to upload it to my github account to work it from there, the question is: how do I upload it to a new git server? I tried to add it but it always redirects me to the old server     
asked by 16.12.2017 / 02:42
1
answer

Github does not allow me to push

I have been using github recently and until now I had become accustomed to every time I wanted to upload new files or changes of files to my repository, simply put everything inside a directory, then put: -git add * -git commit -m "modificacio...
asked by 24.08.2016 / 19:23
1
answer

Recover deleted files with git -rm

I have a problem, create a repository with git and upload it to Github, then I realized that I had uploaded the entire directory including the key files of the APIs that I used. Then I made a git -rm of those files and git commit...
asked by 06.12.2017 / 17:23
1
answer

Return to previous commit on the same branch both local and on github

My question is this, I have the following commit: 4e3cb77 cambio local 7978945 despues de revertir el cambio de hensel 60e65f9 actualizacion 8397e64 Update prueba.txt c9bd0fb primer cambio online 39c7cc0 Base de la prueba, archivo inicial loca...
asked by 18.10.2018 / 04:08
1
answer

Error committing [closed]

I'm committing to a remote repository that I have in gitlab and I had already established the name and the mail. But when I do the commit it tells me this: D:\WORKSPACES\CONTROL DE VERSIONES\spa>git commit -m "Datos geojson añadidos" *** P...
asked by 16.05.2018 / 11:25
0
answers

fatal git: The remote end hung up unexpectedly

I'm using version 2.19.0 of git on Mac And when I do one: git push origin feature/xxxxxx Send me the following: 18:01:29.622365 git.c:415 trace: built-in: git push origin feature/pay-notification-set-up 18:01:29.623402 ru...
asked by 19.09.2018 / 01:06