git

git error : ssh: Could not resolve hostname ?

ssh: Could not resolve hostname C: hostname nor servname provided, or not known fatal: The remote end hung up unexpectedly ? ive set up a git repo useing --bare ( i even dont know what it mean ) im following the http://stackoverflow.com/questions/1960799/using-gitdropbox-together-effectively and when i do $ git clone C:\Users\DAMS\Docu...

Git lies about untracked files

Forgot to mention - such a strong title just to attract more eyes. :) When i hit 'git status', it shows 2 folders that contains files that are tracked long time ago: $ git status # On branch master # Untracked files: # (use "git add <file>..." to include in what will be committed) # # src/UI/Views/Shared/EditorTemplates/ # ...

Using git with a proxy that rewrites SSL certificates

Hi, at $WORK, we have to use an introspecting web proxy that rewrites the SSL certificate chain. I can verify this by using curl to get an https URL or running (o.k., trying to run :-) ) the firefox plugin updater. The windows port of GIT, http://code.google.com/p/msysgit/, also complains about broken certificates. Is there a way to fo...

[git] Point branch to new commit

(This question is the opposite of this one) How can I go from this dev C - D / master A - B to this? dev D / master A - B - C I know I'm going to kick myself when I see the answer, but for the moment I'm a bit stuck... ...

Simplest git workflow for commits signing?

Which would be the simplest git workflow for signing some commits, in order to mark them as having passed a given review, or a set of given reviews? I suppose tagging them would create too many tags. Creating an intermediate repository with a person responsible for committing (effectively using author/committer duality) would be a bit o...

Can anyone tell me how to create a REMOTE branch using smartgit?

Can anyone tell me how to create a REMOTE branch using smartgit? ...

How to list git commits for Android release?

Does anybody know how to determine whether a certain git commit, for example this one from this issue, was rolled into a particular Android release such as 2.2 Froyo? Thanks! ...

Git rename directory to another case same name shows containing files as modified always

After the directory TestDirectory was renamed to lower case (testdirectory) all it's files (a.html and b.html) are shown as modified and even git reset --hard doesn't reset the working tree. Git always says: # modified: TestDirectory/a.html # modified: TestDirectory/b.html Nothing works to reset the working tree to unmodified...

I've git clone, now what?

I've just cloned a repository, made some changes and now I'd like to send the author my patch. What should I do? I cloned from github anonymously. git push origin ? ...

How to detach the local git repository from its working directory?

Is this feasible? I would like to have the .git directory on another drive than the checkout directory. I could not find a way to detach both. The reason is: there is an exchange area on a very slow network drive and limited space and this is a real nightmare with timeouts. At least the repository operations (synchronization with a svn...

Need a strategy to put Intellij IDEA project files in Git

Need a strategy to put Intellij IDEA project files into Git. The main question is how to avoid merge conflicts between branches if idea project files are in git. Another question is it convenient to keep them in git? ...

How to specify which SSH key to use within git for git push in order to have gitorious as a mirror?

Hi, I have a project hosted on git.debian.org (alioth) and I'd like to configure a post-receive hook to update a mirror of the repository on http://gitorious.org I suppose I'll have to use git push --mirror gitorious Now, I'll need to have Alioth authorized on gitorious for the push to succeed. How do I do that? I suppose I need to c...

Run git pull over all subdirectories

Hi, How can I run git pull origin master on all sub directories of a directory. I.E. I have /plugins/cms /plugins/admin /plugins/chart etc and I want to update them all at the same time. (Im running debian linux) ...

Why should I use an editor for git commit messages?

I get the feeling almost everybody uses an editor (vim, notepad++, etc) for the git commit messages. Why? I find typing -m and a couple of quotes is easy and provides a easy way to redo a commit (pressing up arrow). I guess it's easier to do multi-line commit messages in an editor, but I have a hard enough time convincing fellow co-work...

How to 'git push' to a repo that was cloned as read-only onto my team's staging server

I cloned a repo using its GitHub read-only URL onto my team's staging server. I made some changes there to the config files. I'd like to change the repo clone on the server to be read-write, so that I can 'git push' the config file changes. How do I do this? Or is there a better 'best practice' way to deal with this scenario th...

Create a git branch from selected commits on another branch

I created a "feature" branch off master and worked for a long while. I then fetched the latest master branch commits and rebased my "feature" branch commits on top of it. Then I merged "feature" into master. However, I forgot about the merge and continued committing into the "feature" branch. I want those commits in a new branch now,...

Git and Gitosis configuration

Hello There. I trying from 3 days ago to setup a git and gitosis and i found a simple tutorial nfocipher.com.... My problem cames at Step 7 - (On your client) when i trying to get a clone of gitosis-admin and conf it. My bash ask me for password... And it seems to be a problem with rsa key generated. BUT, i followed all the steps until...

Git squashing commits with sensitive data

let me say that I have commits like: A-B-C-D-E-F-G commit B contains some passwords (and some code changes) in commit G there are removed passwordes (added in B), and now they are readen from external files so now in G there is no password but if someone will look into history he may see sensitive data from commit B. Can i do somethi...

git-svn died of signal 10 on OSX

I asked this question originally on SuperUser, but it looks like I'm much more likely to get an answer here. I have git and git-svn installed via Fink. I try to do the following: $ git svn init http://myserver/myrepo Initialized empty Git repository in checkout/.git/ $ git svn fetch error: git-svn died of signal 10 Why is git-svn fail...

How to avoid providing absolute path of git repo while cloning?

Hello All, I am trying to host a git repository. I am now able to clone git repo on any machine within the network with: git clone [email protected]:/home/gituser/repositories/gitosis-admin.git But I need to give absolute path of the repo location. Is it possible to clone without specifying repo path? like for e.g. git clone g...