Questions tagged as 'git'

1
answer

Push a tag to the remote

I need to push a single tag, v0.0.1 , to my remote repository. I know there is git push --tags , but this command, as per your documentation , push all tags. What command to push a single tag to the remote repository?     
asked by 22.06.2018 / 20:21
1
answer

How to disable (permission) mode of the file in GIT?

I'm working with GIT here at the company where I work, along with two other programmers. Every time I make a git pull , whose changes were sent by these two programmers, I always have a problem with the permission of the file or...
asked by 31.05.2016 / 16:24
1
answer

How to retrieve the number of commits done by a person?

What is the Git command to retrieve the number of commits from a particular programmer?     
asked by 01.02.2014 / 02:39
1
answer

How to remove a remote branch in Git?

To delete a local branch from Git, just use the command git branch -d <branch> , but how do you get this branch removed on the remote server?     
asked by 03.03.2015 / 13:28
4
answers

Git merge between branches with submodules

I have a following mobile project. A repository where code is shared between multiple projects. I'll call this base repository. In the projects were created branches of this base repo because it was necessary to add a different submodule for...
asked by 06.02.2014 / 15:59
2
answers

git push command with no apparent effect

A simple question from GIT ... I created a repository on the remote server and ran a git remote add (...), git add "files", git commit and git push origin master, on my localhost so that I could connect to the repository and send the files. Ev...
asked by 01.08.2014 / 02:40
1
answer

"devert" folder in GIT

I had an altered file in the vendor folder that was in gitignore, then gave me a message and I did not read it :( and I gave a git -f add and forced to add the file that was in gitignore, so it added all the vendor folder. The question is how...
asked by 07.08.2014 / 19:34
3
answers

How to force git to keep a directory while ignoring all the files that are inside it?

I have a certain folder and logs which is essential for the operation of my application. I would like to add the same in my repository, to whom replicate does not want to be creating the same when doing git clone . But the detail is...
asked by 21.11.2017 / 11:44
2
answers

What does "Auto packing the repository for optimum performance" mean?

I was giving git push to a remote repository and the following message appeared: Auto packing the repository for optimum performance. You may also run "git gc" manually. See "git help gc" for more information. I immediately interrupt...
asked by 14.05.2015 / 15:16
1
answer

What does - - in git checkout mean?

When we use git checkout nomedoarquivo what's the difference with git checkout -- nomedoarquivo ? I do not know what changes in using this -- ?     
asked by 31.08.2017 / 16:31