My repo: https://firstname.lastname@example.org/shadyabhi/learnajax.git shadyabhi@archlinux-N210 ~/github/learnajax $ cat .git/config [core] repositoryformatversion = 0 filemode = true bare = false logallrefupdates = true [remote “origin”] url = https://email@example.com/shadyabhi/learnajax.git fetch = +refs/heads/*:refs/remotes/origin/* shadyabhi@archlinux-N210 ~/github/learnajax $ git config -l user.name=shadyabhi firstname.lastname@example.org merge.tool=vimdiff github.token=1095de7027bVVVV01cfAAAAAa5fc8f6 color.ui=auto core.repositoryformatversion=0 core.filemode=true core.bare=false core.logallrefupdates=true remote.origin.url=https://email@example.com/shadyabhi/learnajax.git remote.origin.fetch=+refs/heads/*:refs/remotes/origin/* shadyabhi@archlinux-N210 ~/github/learnajax $ git push -u origin master Password: […]
I could really use some help here. I just created a new bare repo to act as a production target for dev pushes. I also have the working web directory on the server as a git repo. The server is running git 184.108.40.206 on centos5.5 After creating the new repo in the web directory, I […]
Is there an easy way or command to get all git commits up to a specific tag to generate an automatic changelog for a project? I always tag my git repos with a version number like v0.1.0 and for instance would like all commits up to tag v0.1.0. I’ve looked through the docs but don’t […]
Following this tutorial [link] to install gitlab on a dedicated server. I need to : sudo -u git -H bundle install –deployment –without development test postgres aws But an error occurred while installing rugged : Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension. /usr/local/bin/ruby extconf.rb checking for cmake… no ERROR: CMake is required to build […]
Say I create a hotfix branch off develop, make 2 commits and then merge this back to develop and destroy the hotfix branch. How do I find out what commits were part of the merge. Is that possible?
I have a big project written in Delphi and I want to manage its sources using Git. I created Git repository, which includes my application’s sources and 3rd party components. All that stuff is automatically building using msbuild. The biggest problem is RES files. Some of them are updated every time I rebuild my application, […]
I have recently needed to write git hooks, for all commits to reference a particular ticket. I was hoping for a place to start learning. All the stuff in the pro git book is written in Ruby. Since Ruby is not my strong suit, can anybody share tutorials about git hooks written in other languages? […]
>>git difftool branch1 branch2 opens my difftool (Beyond Compare:BC) with every file that has a diff between the branches. I have to close BC after each file just for it to reopen with the next file. BC can diff whole directories and multiple files. Is there a way to get git difftool to open all […]
Is there a way I can run GitLab (http://gitlab.org/gitlab-ce) and GitLab CI (http://gitlab.org/gitlab-ci) on a Raspberry Pi device running Raspbian? I want to have my own internal Git box where I can store code and possibly allow other friends access to upload their code too. Is it possible? Thanks.
I have 2 local repositories called “develop” and “master”; they are similar. On my company’s server there’s 1 “main” repo (production) and several branches that were made by other developers: $ git branch -a * develop master remotes/origin/HEAD -> origin/master remotes/origin/some-test remotes/origin/feature1 remotes/origin/feature2 remotes/origin/master How can I merge remotes/origin/feature1 and remotes/origin/feature2 into my local “master” […]