Questions tagged as 'git'

2
answers

Error doing push origin master on github

I'm having the following error in github when I'm going to push.    Please make sure you have the correct access rights   and the repository exists. I created the repository and as I was already with the project I created, I did: git re...
asked by 18.03.2017 / 02:55
2
answers

How to ignore a file after it has already been committed? [duplicate]

I accidentally added some images to my repository. But now I want to ignore them, but you are not obeying the data that was added in .gitignore Example: public/imagens/* How do I get a file or folder, which is already part of...
asked by 16.02.2016 / 14:53
1
answer

Integration with GIT

I would like to know if Git provides an integration API, such as I am developing a C # application and would like to know if you have any way to get the files from the last Commit . I took a look at the GIT website, but I did not find anything...
asked by 20.08.2014 / 22:52
2
answers

How to "synchronize" a branch with master before working on it?

I have the following situation: I have a Git repository, and at one point I created a branch from master. I did not do much in this branch at the time, and then I made the master branch for several commits, and the code changed a lot. Now I n...
asked by 18.07.2016 / 15:33
1
answer

Get git through proxy

I'm setting up my work environment here in the service. It is windows 7 and has a proxy with username and password. I want to download a project from my repository in Github and need to go through the proxy. I'm doing everything for the...
asked by 30.04.2014 / 16:24
3
answers

What files from a MEAN project should I send to GitHub?

I created a MEAN project in MVC and I'm trying to put it in GitHub, but I'm not sure what to send. If I try to send the folder all it gives error saying that there are more than 2 thousand files because of the modules of NodeJS, Bower, etc. So w...
asked by 23.09.2017 / 01:18
1
answer

Publishing packages in the NPM repository

How to publish a package made by me in the npm repository for other programmers to test?     
asked by 11.05.2018 / 22:35
1
answer

Generate ssh key in git

I'm in need of some help! These days I was in college, committing some projects in my GitHub repository through Git , and uploading some files to the repository, when I was uploading the last one and give git push , gave a certain error:...
asked by 17.08.2015 / 09:09
1
answer

How to configure a project in Git and GitHub?

I have a project in GitHub called ProdRegex it does not contain any files, I have the project saved on my PC in the following path I have installed git on my machine, but I do not know how to configure the project on my machine to syn...
asked by 25.11.2015 / 03:28
1
answer

How to commit only one piece of a file in Git?

When modifying multiple parts of a file, is it possible to commit only one piece (for example, a new function)?     
asked by 11.02.2015 / 21:30