Questions tagged as 'git'

2
answers

How to add files that were added to the project via upload to the git repository?

I have a system where you can add extensions and plugins via web interface by uploading a .zip file. This .zip file is uncompressed by the system and the files go to a specific folder on the server. However, these files are n...
asked by 18.01.2016 / 15:43
1
answer

NetBeans + GitHub = git-receive-pack not permitted

I'm using git to do the control of a college project, we're using netbeans + eclipse and a friend who participates in the project sent me the git link, I made the project clone, but I can not do the push in netbeans. the git-receive-pack not all...
asked by 20.10.2015 / 14:46
1
answer

How do I deploy without changing the contents of a folder on the server?

I'm new to the world NodeJs and Git, I'm trying to develop from a system where users upload images. Every time I deploy the app, users' images are deleted from the public / uploads / How do I proceed so people's files are not deleted in...
asked by 19.08.2014 / 18:34
2
answers

How to get the signature of changed methods in a commit

So folks, I need to sign all of the methods that have been changed in a commit, be it updated, removed, or added. Example: In this commit The changed methods were: - br.ufrn.ase.Classe1.metodoB(int b)U - br.ufrn.ase.Classe1.getV()D...
asked by 23.03.2015 / 13:19
1
answer

Doubts about branch structure and repositories

I'm starting to study and use DVCS (versioning programs: GIT, mercurial). I tried to reassemble a folder structure, using branches but the result was not as expected. I wanted to understand how the structure works. What I did was as follow...
asked by 29.06.2018 / 18:58
1
answer

Error in Git, I can not push

I was giving push and this error occurred: error: src refspec master does not match any. What causes it? Could someone help me?     
asked by 23.03.2018 / 15:38
1
answer

Reverse a git reset hard

I did some wrong things while doing some testing and deleted all my files both locally and github, how do I revert and not lose everything? The commands I used and I believe that was what messed up everything were: git checkout --orphan gh-...
asked by 29.06.2017 / 03:01
1
answer

Git Pull removing files

I'm having the following problem: I'm doing git pull and when I bring something from the server, commit is automatically removing files. Example: removing Projeto/arquivoX removing Projeto/arquivoY     
asked by 29.04.2016 / 14:16
1
answer

How to clone a second branch using the same directory as the first cloned branch?

I have a repository with multiple branches, I cloned a specific one and worked on it. Note: Because the repository is too large, it takes too long to clone the entire project at once.
asked by 06.10.2017 / 20:31
2
answers

Identify differences between two similar projects

I have two projects in PHP: one is a store in Rio, and another is the store in São Paulo. Basically, SP is in the root, and Rio is "almost" a clone of the SP project. Each project is presented one way, the river is being loaded into a river su...
asked by 11.08.2016 / 21:33