Questions tagged as 'git'

1
answer

Two GIT Projects

If I have a project already being done in git and at any given moment I need to join with another project but keep the history of commit how?     
asked by 21.09.2017 / 21:18
1
answer

Git, upload codes directly to the server

I wanted to know if a way to leave all my projects online is possible so I do not always modify my code to upload it to the server. Go some questions: Now with every update in the code I wanted to upload it directly to the server...
asked by 04.03.2017 / 14:41
2
answers

Not a git repository (or any of the parent directories): .git how to solve?

Good morning, I'm learning to use git and I need to check out a branch. I made the clone in git: $ git clone https://[email protected]/teste/teste-site.git Cloning into 'teste-site'... remote: Counting objects: 10818, done. remote: Compre...
asked by 19.10.2015 / 15:09
3
answers

How to copy a local git repository?

It is already common knowledge that it is not a good practice directly copy the physical files (mdf, etc) from the database of data. For this, there are specific routines that generate external files that can be imported. Analogously to dat...
asked by 17.04.2017 / 22:29
1
answer

How to stop tracking changes to a file after the commit?

I have a .properties file already committed and would like to stop tracking changes made to it. Each user who clones the project will configure it their way. I tried this command: git rm --cached application/src/main/resources/props/...
asked by 28.04.2016 / 22:28
2
answers

Send specific branch with Git to Github

How can I send a specific branch to Github through Git? I am creating a project to learn how to use Gulp and its plugins, and in it I created a folder with the source code, called src and a folder containing the minified files, CSS she...
asked by 02.04.2016 / 18:37
1
answer

What is the purpose of git update-index?

I was facing problems with folders, which should be ignored in the repository, but they were not even when I put it in .gitignore , and I did several searches to solve the problem. Among the many searches I've seen someone advising that...
asked by 21.03.2016 / 15:13
1
answer

How to create a clean branch without taking the master branch history?

I need to create a clean branch that does not reflect the commits of the master branch. This branch will be used to make project information available on Github through gh-pages and will never be used to merge with the master branch.     
asked by 13.09.2015 / 02:29
1
answer

Change repository linked with android project in Git

Good morning, I created a project in Android Studio, I created a repository in Git, I made the Share of my project in my repository. Now, I would like to change the repository, take this project from my already linked project and link it to a...
asked by 24.09.2015 / 16:42
2
answers

Check if directory is a repository with LibGit2Sharp (C #)

I'm starting to study C # so my knowledge is quite limited. I'm using the LibGit2Sharp library and would like to check if an informed directory is a repository. Their documentation is not yet complete, so I'm having trouble. Follow m...
asked by 11.05.2015 / 15:13