This probably very simple, but I can't seem to find clear instructions (and I'm new to Linux/Git); Is there a simple way to export / archive only the changed files from a given commit or series of commits in git?
I am using msysgit, and for the most part I'm fine with deploying entire repositories but in many cases it's much more effici...
There is an open source project I want to checkout and contribute to. The main repository is SVN but I want to work in Git. Is this possible?
Most of my searches turns up guides where you move from SVN to Git (or the other way around) and dont look back.
If I checkout the project, make a change and push it to the branch I created on ...
I'm using TortoiseGit on Windows XP.
My team all use a central svn server as our central "canonical" code repository. It's all run on a windows network.
I work locally with git, then use git-svn dcommit to commit regularly to the svn server.
Our network enforces a regular password change - which changes my password for the svn server ...
Gitk has a nice habit of showing me Tags:, Follows: and Precedes: for commit. How do I get the same information from command line?
...
Our project is working within fairly close quarters code-wise (a lot of changes happening in parallel in a fairly small geographical area of the code), and our feature branch based git workflow works out really nice for our java code.
But the xml/html stuff is not working really well. Simple unrelated changes (a designer adding a surro...
I have a (Windows) GIT repository in a folder called XXX, and I have second GIT repository called YYY.
I want to import the XXX repository into the YYY repository, add all XXX's change history to YYY, and rename XXX to ZZZ.
Folder structure before:
XXX
|- .git
|- ZZZ
Folder structure after:
YYY
|- .git <-- This now contains th...
So I have my master branch, along with branch 'bob'.
I've made many changes in both and now I want merge master into bob to keep him updated. The only thing is, if there is a conflict I want it to automatically resolve to bob.
I've been recommended the following:
git checkout bob
git merge master -s ours
This does not work because I...
I have a git branch on my production server which is centos. I am trying to connect to it from tortoisegit on my windows machine but it doesn't seem to be working.
I install msysgit, tortoisegit and already have putty. once installed i created a folder on desktop, right clicked, then clicked on Git Clone..., put the remote server's user...
A while back I was looking for an embeddable distributed version control system in Java,
and I think I have found it in JGit, which is a pure Java implementation of git.
However, there is not much in the way of sample code or tutorials.
How can I use JGit to retrieve the HEAD version of a certain file (just like "svn cat" or "hg cat" wh...
This might seem like a weird question, but bear with me.
I'd like to (ab?)use git for a little project I'm working on, where I'd like to branch a file, yet keep the branched file within the current branch under a new name, maintaining history (allowing me to rebase changes to the original). This is similar to Subversion I suppose, in th...
Is it somehow possible to automatically have a link to GitHub issue number in the git commit message?
...
Using Git at home has spoiled me - I now find using TFS at work to be a bit of a drag and want to explore the possibility of using Git locally and syncing somehow with TFS. I figure there are a few different ways this can be done and would like to hear from people that have attempted it.
I've found a blog post that describes a relativel...
Hi
Given I have a master branch and a other branch. In the other branch are files I don't want to commit (e.g. log files) so I ignored them in .gitignore.
When I switch to the master branch, these ignored files stay but they belong only to the other branch.
Is there a way to attach some ignored files to a specific branch (without co...
Hi,
I am new to git and I seem to have one branch too many if I execute the following command:
warning: refname 'HEAD' is ambiguous.
I get the following output:
warning: refname 'HEAD' is ambiguous.
From github.com:dagda1/hornget
* branch master -> FETCH_HEAD
warning: refname 'HEAD' is ambiguous.
warning: refname 'HE...
What would be the best way to set up a read-only git mirror of an existing svn repository, and set up post-commit hooks such that whenever someone commits to svn, the git mirror is automatically updated? Mainly, I'd like to run git-svn clone just once, on the server, and then let people just check out from git without having to git-svn c...
I have two git repositories:
report.git (Master on remote location)
cloned.git (Local)
I lost report.git. I have the cloned.git. I want to clone other repositories from this cloned.git. This is possible but my question is am I missing something? Is cloned.git really the same as the master report.git?
cloned.git still points to the M...
Hi
I'm looking at how to import some third part code into a git repository.
The third party code is the "stm32f10x_stdperiph_lib" that is provided by ST.
The lib is actually a bunch of normal c-files (and header-files) that you just include and build with when you do a STM32 project.
The problem is that they only provide it as a zip...
Im new to Git and Terminal. This is pretty basic stuff, but how can i exit a listing mode generated by the git status command?
...
We use Git as a revision control system for our code.
I need to setup a mailing list to help code reviews.
Each new commit to a specified subset of Git branches must be sent to the list as the full patch inside the post body.
List must support human replies as well, so all developers would be able to comment on the code.
I guess, I n...
I've recently set up cygwin, git, and gitosis on my Windows Server 2003 box and am having troubles. I've followed just about every tutorial I can find to the letter, and have confirmed that my git account's authorized_keys table is getting updated when I push the gitosis-admin repository. I seem to be stuck, however, when it comes to c...