Questions tagged as 'git'

1
answer

When should I use a patch?

One of the features of git is the use of patches. In what situations should a patch be used? I read that patches were intended for hotfixes. However, I can not understand why I would patch instead of simply pushing with the fix or a pull requ...
asked by 22.08.2016 / 04:24
0
answers

What does this git error mean?

I am migrating a server git repository. I'm pulling out of my VPS and moving on to Bitbucket. I took all the branches of the VPS and successfully climbed to the service mentioned. I even added a deployment key so that the staging server can u...
asked by 12.08.2015 / 20:24
3
answers

How to list all untracked files in GIT?

How do I list all files not added to the commit in git ? It would be important to have this listing so I know when to make a git add on specific files. Note : I use git from the command line because my operating system...
asked by 13.08.2015 / 16:18
1
answer

Git - Ignoring files with .gitignore

Can anyone explain to me clearly the difference between using the commands below in the .gitignore file? /pasta pasta/
asked by 26.11.2018 / 14:23
2
answers

How important is the branch in versioning?

Why creating branches are important in software versioning, rather than using only the master (in large, medium, small, or even personal applications)? What advantages do I have in using them? A versioning without them can lead to some "evi...
asked by 11.02.2018 / 01:05
3
answers

How to discard all uncommitted changes?

How to discard all uncommitted changes? Example: I have a project that has a few dozen commits, assuming that at some point I decide to discard everything that has not yet been committed via commit , how can I do that? Note: I want to und...
asked by 20.08.2018 / 20:45
2
answers

Questions about using Git

I created a new project in Github and then tried to give git push to upload the files that were on my machine. I did the basic procedures needed (I think) to work, but it is giving% error of%. I followed more or less this tutorial (f...
asked by 13.03.2014 / 18:20
3
answers

How to push local folder to GitHub

I would like to push from a local repository to my GitHub. For this I did the standard procedure: git clone <chave ssh> So much so, he created a copy of the GiHub repository locally. Inside this repository there is a folder with files...
asked by 26.05.2014 / 16:02
2
answers

Is there any way to do a git pull without conflicts?

After a lot of programming in my life, breaking my head doing FTP to update the system that is running in production, I decided to default to GIT . When I have a new update tested, I make a git pull in the directory of the applic...
asked by 02.06.2016 / 20:24
2
answers

What is the difference between the remote GitHub repository and the remote of my dedicated server?

In GitHub we can create remote repositories, and in doing so we gain a certain set of administrative functions under this repository, one of these functionalities is the possibility for the administrator to review the commits received, to revi...
asked by 04.08.2018 / 03:22