Tag: repository

Do i run git init in the src folder or in the project folder of my workspace?

I couldn’t find a question that similar to mine but the point I’m asking is where do I run git init? Do I run it in the src folder where my code is or in the project folder which contain the src folder and a bin folder? I’m working with eclipse and gitBash. Hope this […]

How to merge 2 LOCAL git repositories on 2 machines into one?

I have been developing 2 parts of a project separately, and I’d like to merge them. I did not push any of them to a remote server, but I want to. 2 local repos to merge : software on Linux PC (SW) microcontroller firmware on Windows PC (FW) How do I end up with a […]

Enable EPEL repository in CentOS 7

I tried to enabled my EPEL repository in my CentOS system because some packages were not available in the official CentOS 7 repository. I followed this tutorial: How to Enable EPEL Repository for RHEL/CentOS 7.x/6.x/5.x and followed RHEL/CentOS 7 64 Bit part. I tried RHEL/CentOS 7 64-Bit wget http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm rpm -ivh epel-release-7-5.noarch.rpm But I get […]

What is the best way to share some personal test code between repositories by CocoaPods podspec dependency?

I have two repositories for my personal test on Objective-C.(Pod_A & Pod_B) There are some malloc functions at those repositories, so I create the other repository to put those same functions.(Pod_C) then setting Pod_A.podspec s.dependency ‘Pod_C’, :git => ‘https://github.com/myName/Pod_C.git’ I pod install Pod_A fail, then I find some issues on podspec dependency. It seems to […]

Github: Find repositories ordered by creation date

I am trying to find the newest repositories for a language on Github, ordered by creation date. For example, a Ruby repository created 2 days ago should show first in the results. A Ruby repository created 8 days ago should show second on the list and so on. I have gone through the search filter […]

Efficient “linking” of two GIT repositories (open and closed source)

For my next dual licensed open source project I would like to use Git for the first time. Assume that in the development environment my project consists of a src and a doc directory, which contain all open source files, so that they should be available in a public Git repository. XYZ/ |-doc public |-src […]

Restrict users access on specific git branch repo and history repo, while keeping merge facilities

Here is my context: I have a software with 20 vesion, each version represents( is the same) a branch in my git repo. I Have two teams, one local and one remote. Here is my restrictions: Local team have full access to the repo. Remote team have access restrictively to 15th version(15th branch) Remoe team […]

Git – Automatic deployment in live webserver,doesnot show changes in gitlab

I am using gitlab as central repository. Now i am trying automatic deployment in live webserver using this tutorial. https://www.digitalocean.com/community/tutorials/how-to-set-up-automatic-deployment-with-git-with-a-vps It works fine. When i push my changes it is directly sent the files to webserver. But i need to see the commits, changes in gitlab repo too. Am not very good at git. Please […]

Gitlab 8.7 repositories size differ backup-restore (6.9) from Import option (8.7)

So, I’m in the process of migrating my repositories to a new server: Old Server: –> New Server Gitlab 6.9 –> Gitlab 8.7 So What I did was to create a backup following the documentation after which : installed 6.9 version in the new server so that I was able to restore the backup. restore […]

Git: Manage Version Control on Multiple Single Files in a Repo

I have a folder in which I keep and maintain around 20 or MySQL script files, and I am currently managing version control using Git. Since these scripts are somewhat independent of each other version-wise, I would like to set my repo to track versioning on each file individually. For example, consider that I have […]

Git Baby is a git and github fan, let's start git clone.