Questions tagged as 'git'

1
answer

Configuring git for local network

I have a machine here in the company where the source code is, it would be our local server. We have 2 programmers, who have access to the source that shares this machine. In the GIT settings on each machine if I want to put eg git user.name,...
asked by 20.02.2017 / 15:10
3
answers

How to send all directory files except a specific one?

I would like to send all files in the directory except config.php . Basically I use the git add . command to add all the files, but when I have few edited files, I do this: git add arquivo1.php git add arquivo2.php git add arquivo...
asked by 16.06.2017 / 19:44
1
answer

Heroku server H10 code error in a Spring Boot project

I'm new to putting projects on the server Heroku, I saw in the videos lessons I got on the internet and the step by step was going ok, the heroku commands that everything, when I did the project deployment on heroku immediately typed the URL to...
asked by 16.06.2017 / 16:49
1
answer

Push from the same file with different parameter in Git

In Laravel there is the file .env . In it I define my database connections, email, among other things. Let's suppose I have 3 connections: Localhost Homologation Production When I want to work on localhost I change the...
asked by 31.01.2017 / 12:31
1
answer

error add ssh key to account in github

personalsomeoneI'mtryingtoaddmysshkeytoaccountingithubsoqeisgivingerror,heasksforatitleandIput"windows" then asks for a key then I put "id_rsa.pub" this error appears: Key is invalid. It should begin with 'ssh-ed25519', 'ssh-rsa', 'ssh-dss', 'e...
asked by 20.01.2017 / 00:45
1
answer

How to resolve the "git clone problem with the ssl CA cert" error?

I'm trying to install SSL Let's Encrypt, using certbot, I'm using the following command: git clone https://github.com/certbot/certbot But the following message returns:    fatal: unable to access ' link ': Problem with the SSL CA cert (p...
asked by 17.12.2016 / 02:15
1
answer

Script for GIT update

I have a question and I do not know how to solve it. It happens the following, I created a script in sh called atualiza.sh inside it I have the following code. git add . git commit -m"atualiza rotina" git push xxxxxxxxxxx My g...
asked by 07.12.2016 / 12:44
1
answer

git does not commit charset changes

Hello, I created several files in ISO-8859-1 but now I'm converting them to UTF-8. However, git does not identify this coding change and even if I try to force a commit (adding any text), the charset of the file remains the same.     
asked by 03.02.2017 / 16:04
2
answers

run git pull without prompting for password

I would like to know if there is a possibility of me caching my password for my git user so I will not be prompted for the password every time I perform a git pull from the server, remembering that I am not allowed to change the server settings...
asked by 18.11.2016 / 13:27
1
answer

git stash command disappeared with files

I was working on an important update to the company system and I had to solve another problem, so I ended up putting the changes I made to stash to change branch in> master more updated to solve this other problem. To my sadness as I rol...
asked by 04.11.2016 / 19:29