How to record a history of releases for a web project in Git?

I’m working on a web project with frequent merges and releases into production. I’d like the repository to contain a full record of everything that was ever pushed onto the production server, mainly so that I can analyse an error log entry from three weeks ago knowing exactly what code was in production at that […]

Where to find/create .git/config file for local configuration for project?

This question already has an answer here: Where do the settings in my Git configuration come from? 4 answers

issue with git blame command using java program

I am trying to run below git command using java program on windows. git –git-dir D:\code_coverage\.git blame ‘src/’ | grep e4ecfbe | awk ‘{print $7}’ it gives me error : fatal: cannot stat path ‘$7}”: No such file or directory While running this command from command prompt, it gives me results as desired. Please help!

Selective access to Git repository based on SSH

I have a server with six Git repositories, to which I have read+write access through a single SSH account, all in /opt/git/, all owned by the SSH account. I’d like to give somebody else read+write access the a few of the repositories, but not to all. How do I create a new SSH user that […]

force Git to create the ssh-key in the directory directory

I want to push an project to the github homepage. Therefor, I am trying to create ssh-key for the github to manage it but I am facing problem that git creates the ssh-key in the wrong directory /c/Users/user82/.ssh/id_rsa) and not in the project directory /desktop/dogs. How can I tell Git to create ssh-key in the […]

GAE: Trouble with push to deploy

I have troubles with push to deploy to GAE today: me:default me$ git push origin master Counting objects: 7, done. Delta compression using up to 4 threads. Compressing objects: 100% (4/4), done. Writing objects: 100% (4/4), 376 bytes | 0 bytes/s, done. Total 4 (delta 3), reused 0 (delta 0) remote: Scanning pack: 100% (4/4), […]

TeamCity push feature branches to master branch

Is there any way to push successfully built feature branches to another branch? I’d like to have something like that: Git repository (Gitorious/GitHub whatever). Branches: master (current project’s code) quality-assurance (branche where code waits for QA) feature-branches (many remote branches, where devs can develope their features) Developer should have only read access to master and […]

Why does cherry-pick tell me that I have all lines changed?

Updated Consider file abc, identical in both commits A and B begin 123 456 789 klm end In A, we refactor first line 123 => AAA and pick B on top of the result. Git tells that all lines in the file have changed. Its diff will operate normally however, if we modify B by […]

git reconnect to a remote repository

I made a huge mistake that resulted in my having a local version of my project that is no longer connected with the remote repository it was once associated with. Is there some trick to reestablishing that connection/association w/o blowing away the local version of the code?

FATAL: Invalid ID Jenkins IIS

I’m trying to set up Jenkins to pull and build a project from bitbucket. I’m using this on IIS 8.5 Server 2012 r2. I’ve set up the Git and Bitbucket plugins. I’ve set up a project with the following: Branch Specifier (blank for ‘any’): “origin/master” I’m not sure if this is part of the issue, […]

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