Questions tagged as 'git'

0
answers

Dismissing changes directly from the GIT server

Guys I have a giant problem, let's say I have a system in hand that was updated via FTP and I needed the free GIT area without having to commit to what is different from the server, that is, to somehow leave the GIT equal to the server so that a...
asked by 10.05.2018 / 17:07
2
answers

Join several commits of a branch

I have the following situation: I created a branch, for which I made several commits, I pushed the github, now I wanted to join those commits, which are already in github in one, not to be commits of "garbage". Does anyone know how it works?   ...
asked by 06.05.2018 / 02:50
1
answer

Error: 'could not read Username for' https://github.com 'while pushing

I have an ASP.NET versioned project in GitHub and when trying to do a push the following error is returned:    fatal: could not read Username for ' link : terminal prompts disabled Does anyone have any tips?     
asked by 09.05.2018 / 22:47
0
answers

diff of a file in a specific commit and HEAD

How can I compare the difference to HEAD and the last commit that contains specific file? To find the last commit that contains the file, read the information in git diff file against its last change . However, running the command...
asked by 21.03.2018 / 01:09
1
answer

Get Git version control and save in a PHP constant

Is there a possible way to save the GIT hash within the PHP code or a version number automatically every time you push, or by Javascript, using gulp, save the version in PHP? I would like to do this so I do not have to manually put the versio...
asked by 17.01.2018 / 12:17
1
answer

Problem with push and pull on github

I'm trying to do a git pull and a git push to send files to my repository in github but in both cases it gives this error: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version Does anyone know how to solve this p...
asked by 01.03.2018 / 20:50
0
answers

Is there any way to make Git ignore modifications regarding spaces or line breaks?

I have refactoring craze. If I see something missing or overly broken, the first thing I do is fix it. I'm using Visual Studio Code in a project and I use GIT to do version control. These files that I usually give a line break or patch to cor...
asked by 13.12.2017 / 19:45
1
answer

Pull branch request outdated in Git

I created a branch from a repository in GitHub . I worked on this branch creating your own commits . The branch is in the remote repository. Meanwhile the master was evolving, developing code in master . In principle, the maste...
asked by 24.11.2017 / 00:17
1
answer

error installing github npm

I installed npm and I configured my proxy after that when I try to install any library eg git hub, it appears these errors: npm ERR! node v6.11.3 npm ERR! npm v3.10.10 npm ERR! code HPE_INVALID_CONSTANT npm ERR! Parse Error Based on a conf...
asked by 06.11.2017 / 18:34
1
answer

How to synchronize git folders to allow me to use R files simultaneously on multiple stations?

I've made an account in Git, and it's supposed to allow me to use the R files simultaneously on multiple stations. But I struggled a lot to be successful in the SSH key that the platform requests. And right now I can not do pull and pu...
asked by 06.10.2017 / 15:26