Questions tagged as 'git'

1
answer

Error executing laravel project cloned from git

I cloned a project of a repo git. When I try to open it ( link ) it tells me the following:    Fatal error: Uncaught Error: Class 'Illuminate \ Foundation \ Application' not found in C: \ xampp \ htdocs \ pikum.mapu \ bootstrap \ app.php: 14...
asked by 13.02.2018 / 14:01
1
answer

Undo a "merge branch master" to my "current branch"

I am working with a branch B and I have the branch Master . I just finished my modifications and I wanted to add them to the Master, but instead of doing this I made a merge branch 'Master' into 'B' (I put it in English becau...
asked by 04.11.2017 / 00:52
2
answers

How to recover an erased branch of git?

I just deleted a git branch. For example: mkdir test cd test git init echo "Viva yo" > test.txt git add . git commit -m "test" git checkout -b rama echo "Viva tu" > test2.txt git add . git commit -m "test2" git checkout master git branc...
asked by 20.09.2017 / 11:24
2
answers

How can I go to a specific commit and return it master?

I have errors in my code and I would like to be able to return to a commit specific and be able to return it master , how can I do it? this is my commit commit 70b0aecf7ee7bfb4864eab75e56ccd67426926f1 Author: emeery <...
asked by 05.04.2018 / 00:09
2
answers

Is it necessary to install Git in Windows 10 if it already exists in Bash Ubuntu?

I just bought a computer with Windows 10 (so far I've only used Windows 7, I did not need Windows 8 and 8.1). The first thing I did with this new toy was to install Ubuntu Bash. I've tried this bash and it's decent to be a beta version (I'm goin...
asked by 16.07.2017 / 04:01
1
answer

Error updating my remote repository in Git hub

I have the following error when updating my remote repository to git hub C:\xampp\htdocs\mvc>git push remote: Permission to otrousuario/mvc.git denied to usuario. fatal: unable to access 'https://github.com/otrousuario/mvc.git/': The req...
asked by 14.10.2016 / 04:13
1
answer

When changing branches, it brings modifications to the source branch

Good, I have a problem trying to change the branch because when I made the change instead of giving me the message    Please, commit your changes or stash them before you can switch branches. let me change the branch and also brings me th...
asked by 27.08.2016 / 08:49
2
answers

Ignore files in commits already made and pushed

I want to ignore a file in commits that I already made and push to github, because when I see commit by commit from start to end I am seeing the modifications that were made in some files and I do not want to have to see this. Is there any way t...
asked by 01.07.2016 / 00:32
1
answer

What is the difference between $ git push -u origin master and $ git push origin master?

What is the difference in using the -u flag when I do $git push to upload my local repository to a remote one? I see they do the same, both $git push origin master as $git push -u origin master I read this manual b...
asked by 21.10.2017 / 23:05
1
answer

Work in the same branch and same file with git

I'm starting in the world of programming. I still do not control git too well and some problems arise. If I work in my branch, everything is perfect, I have it more or less controlled. But I have had to work with other people and touch the same...
asked by 24.08.2017 / 11:31