Questions tagged as 'git'

2
answers

What are really the sets of Git modifications?

I'm now starting to use Git and one thing I heard in the course I'm seeing was this: what Git actually saves are not the different versions of the files, but sets of modifications. In this way, by doing a commit , instead of saving the...
asked by 28.01.2015 / 21:29
1
answer

How to use a GitHub project as the basis for a new one?

I'm trying to use the angular-phonecat project as the basis for a new project, and make modifications on top of it, because the structure is very similar to what I want to develop and so I would not have to configure and download everything I...
asked by 07.06.2016 / 18:13
2
answers

What is the difference between git reset - file_name and git reset HEAD file_name?

To remove files from the staged area I use the command: $ git reset HEAD <file_name> However I accidentally applied the command: $ git reset <file_name> I forgot the HEAD of the command. When I did this I got the mess...
asked by 05.08.2018 / 00:34
2
answers

Why are some "git" commands preceded by a dash and others by two dashes?

I'm learning to use git and I noticed that certain parameters are preceded by a dash while others are preceded by two. Example: git branch --merged git branch -d nome What is the reason?     
asked by 03.01.2015 / 19:10
3
answers

Configure .gitignore to not upload certain files

I'm developing a .Net project and would like to add some files not to upload to Github via .gitignore . I started to research about and saw some solutions, which I did not understand. So first, I can add all obj and bin files to my .git...
asked by 15.09.2017 / 22:03
4
answers

How to remove untracked files from my current branch in Git?

How to remove these files from my current branch in Git?     
asked by 05.05.2015 / 19:56
3
answers

How to give permission for other users to upload content to my project on GitHub

I'm doing an academic job and I created a project and wanted each member of the group to create a branch and upasse part of the code used in the work, however when someone tries to create a branch in the project and upar some code will a...
asked by 31.08.2018 / 19:48
4
answers

Is there any way to know if I've done git push?

Whenever I need to update repositories, I use the git push command. The problem is that sometimes I do not know if I've pulled or not, because I'm doing several things at the same time. From there to find out whether I made git push...
asked by 23.06.2016 / 15:07
2
answers

Problem with Git repository size

In the company where I work, I was using Git to save a system, where three people use it. After an image folder has been accidentally sent, making a git pull has become absurd since the downloaded data is almost 1.6GB. We later remo...
asked by 10.04.2015 / 16:32
2
answers

How do I show the files that need to be shared?

How do I show files that need to be "commented"? Or, is there a program for Linux-based distro that behaves like the Eclipse Git module, which shows me the files that need to be added and "done"?     
asked by 31.01.2014 / 20:25