Questions tagged as 'git'

1
answer

Python utf-8 encoding error

Hello everyone, I'm new to Python programming, I'm creating a program that reads information from a text and transcribes elsewhere. Apparently the text was working normally on the computer, I uploaded all this information in github , wh...
asked by 18.12.2018 / 20:11
1
answer

Cloning hosting folder for bitbucket

How do I clone a folder that is in my host on the hostgator for a project in BitBucket and after the changes go up to the hostgator again? Is it possible? Note: I have the ssh access from the hostgator and I can access the ssh terminal normal...
asked by 25.03.2018 / 23:10
1
answer

"HEAD" in the middle of the code after merge

I made merge between branch develop and master and some conflicts appeared, but I ended up solving it. The problem is that I saw two files in which it has <<<<<<< HEAD in the middle of the code...
asked by 26.04.2018 / 02:31
1
answer

How to set the location of the working directory in Git?

When I installed Git, I could not configure the location of my working directory. I have already changed to "Start in:" C: \ Users \ Renata Mendes \ Documents \ Projects "in the Git Bash properties, but the change is not saved and every time...
asked by 29.05.2014 / 22:35
3
answers

how to commit a cloned repository?

Yesterday I created a repository in github and gave some commits, today already in another machine I cloned a repository and I am trying to commit changes but I can not. process ... I have done so far $ git clone 'repositorio' $ git init...
asked by 27.03.2018 / 16:43
2
answers

BitBucket Code Versioning

Good afternoon people, I work in a website development company and we have the idea / need to host all sites in github / bitbucket to stop using the old and good FTP as the main "versioning" of code. The point is that all sites have a specifi...
asked by 20.07.2017 / 18:37
1
answer

Git - How to correctly use the branches [duplicate]

I'm learning how to use Git now, after a long life with SVN. I am not understanding how to use branches because in SVN a branch is a copy of trunk with all files. With this, if I make a branch to fix a problem I can see the applicat...
asked by 12.12.2016 / 00:13
1
answer

.gitignore with .env

I added an .env to my .gitignore file. But when I change something in .env, the changes are moving up together in the commit. Follow my .gitignore: # Logs logs *.log npm-debug.log* yarn-debug.log* yarn-error.log* # Runtime data pids *.pid *...
asked by 13.11.2018 / 03:49
1
answer

Next loop element

I'm trying to implement a commit search algorithm between two tags with the git log tag1...tag2 command. For this I used the command git tag which returns the tags of a repository. With this result, I thought about iterating ove...
asked by 23.11.2018 / 18:47
1
answer

local git permission error

I'm having a problem already on the 2nd day. I can not commit files on my system. Error encountered while publishing to the remote repository: Git failed with a fatal error. Could not read from remote repository. Please make sure you have...
asked by 04.07.2018 / 22:15