Questions tagged as 'git'

1
answer

Is it possible to raise desktop projects on GitHub?

Can I develop my desktop programs and get up to GitHub, and work this way with versioning of my program with Git? Or can I just raise web projects for GitHub?     
asked by 07.11.2015 / 19:19
2
answers

Should old tags and branches be deleted from the remote repository?

One of the main products of my company is already 4 years old. In the meantime many branches and tags have been created, in addition to the repository being migrated from SVN to GIT. Because of this, the repository has a lot of old code and s...
asked by 10.03.2014 / 19:53
2
answers

HEAD is detached in repository

I'm using NETBEANS and GIT. I made some changes to now at the time the commit is giving this message:    HEAD is detached in repository My repository looks like this:     
asked by 10.08.2016 / 01:52
2
answers

Working with GitHub [closed]

We are working on a project to create a J2EE + GlassFish-based application server in order to update the way we work in our company. In this environment, two programmers will work on the same project, and we chose Git as a versioning tool....
asked by 13.07.2017 / 20:58
1
answer

Is it possible to revert changes to only one file in a commit?

Let's say we made a commit and that a file was changed wrong. Is there any way to revert this commit to just the file you want?     
asked by 05.09.2016 / 15:22
1
answer

Ignoring files by .gitignore

I use GitLab as a repository for a Android project. I want to ignore the files in the openCVLibrary320 folder at commit/push time. I typed the folder as follows in the file .gitignore : *.iml .gradle /local.pr...
asked by 30.03.2017 / 13:37
1
answer

Specific commit merge

I'm currently working on an SCM migration in my company, we're moving from CVS to Git, but the CVS code was versioned differently, each branch is a different codebase, so I'd like to know how do I get to merge just one commit at a time with Git....
asked by 28.10.2015 / 01:18
1
answer

Undoing a pull in git

I have a project and at the moment I have 3 branches, master , a dev and one that I needed to create in parallel to dev for a funcionalidade part, until then without news, my problem was that I'm in the dev branch and I made...
asked by 14.07.2015 / 14:14
1
answer

GIT central repository + external server communication

Good morning, I have a question, here in the company where we work, we think about creating a shared local server that will be the central repository and everyone will clone and give push . So far, well instead of a github would be...
asked by 03.11.2016 / 14:19
1
answer

Git and GitHub: Need to give remote more than once?

When I'm going to do the procedure to load the files from my directory to GitHub, through Git, do I need to give git remote add origin ... every time or only the first time?     
asked by 22.11.2018 / 20:58