Questions tagged as 'git'

1
answer

Error changing the file name to .gitignore

I'm migrating from code version, I previously used Mecurial SCM and now I'll be using GIT, the problem is that Mercurial creates the file .hgignore to host the list of ignored files but when trying to rename it to maintain its equivalent...
asked by 25.11.2017 / 00:32
2
answers

Error Attempting to upload my project to Git Hub

What I want to do is upload the process of a project that I have to my github but at the moment of doing it by means of cmd it marks me an error that I have not been able to solve. I do not know what that error is because I can not get...
asked by 28.08.2016 / 05:09
2
answers

Create a branch without files from an existing repository.git

I want to create a branch without files for an existing repository. What I have done, is this: make a new branch erase everything (less .git and .gitignore , that is, the files of my project, not those of control or those...
asked by 14.03.2017 / 19:16
1
answer

Doubt about git and create branches

I have a git project where I have the develop and master branch. I created a new branch with the command "git checkout -b feature / feature_test" Then I enter this branch and edit a file that is "carController.php". In between I want to make...
asked by 19.09.2018 / 18:42
1
answer

Git push The requested URL returned error: 403

Good morning, my problem is that I want to upload changes to my remote repository but in Git Bash it does not allow me to launch the following error. With the GitHub Desktop application it allows me to upload changes in a normal way but in th...
asked by 03.10.2018 / 08:41
1
answer

Users git Ubuntu Server

I have mounted an ubuntu server, I have created ss users, and everyone can clone the repositories. However, only the administrator user can commit. I have created more admin users and even then I have not managed to commit with another account,...
asked by 17.08.2017 / 01:52
2
answers

How can I undo my last commit in Git? [duplicate]

I made the wrong file commit. I did not push the commit to the server. How can I undo these commits?     
asked by 23.07.2017 / 18:21
1
answer

Problem when executing the git config --list command

According to the official documentation of git Beginning - Configuring git por first time when executing the command git config --list I should list all the configuration that I have given to the environment along with my use...
asked by 09.11.2016 / 16:37
1
answer

I can not change the branch in git

I have a repository in git with two branches, master and develop, I initialize and clone my repository but when trying to change to develop I am in favor of this: error: pathspec 'develop' did not match any file (s) known to git.     
asked by 26.02.2018 / 05:46
1
answer

Project contain folder has gray color

Uploading my project to a repository in GitHub , I have encountered the inconvenience of uploading all folders except one, the www , which contains the project. I try everything but it is not possible to upload the files contained in th...
asked by 15.08.2016 / 23:55