I've just discovered fugitive.vim, which is pretty cool. However, I've run into a problem (this is using windows xp, msys git 1.7, fugitive.vim 1.1, and gvim 7.2). Adding files to the index and checking the status works just fine, but when I do a :GCommit, a command prompt flashes for a second and nothing happens. No way to type a commit...
I'm currently using a collection of three commands to get the current tag, branch and the date and SHA1 of the most recent commit.
git describe --always --tag
git log -1 --format="%H%n%aD"
git rev-parse --abbrev-ref HEAD
Which will output something like:
1.2.3-5-gdeadbeef
deadbeef3b8d90071c24f51ac8f26ce97a72727b
Wed, 19 May 2010 09:1...
How to set a Git serverA and another Git serverB are synchronous?
I need set 2 Git servers one is normal operation the anothers is backup.
User can git clone serverA or serverB because their repository are the same.
or another backup git server method?
...
Hi,
i'd like to just checkout the files without the .git files and the whole repository. It's because i'd like to manage a website (php & html) with git and i'm looking for an easy way to update the files in the htdocs folder from the repository, without having the repository public. (now it's in the home-dir and is accessed via ssh, bu...
I have a directory with all my coding projects. I want to upload (right word?) it to github using command line.
I already looked at this question.
I know how to clone an existing project, and how to push it after making any changes.
But in this case, I want make a new project and add files to that. How to I do it (using command line)?
...
Say I'm currently working on a new feature which I've branched off of the 'dev' branch and I've been working for several days and it's not yet ready to be merged with 'dev' and pushed.
Although I have made several commits and have been pulling changes to dev and then merging dev into my feature branch to keep myself updated.
Here's my ...
I am developing some private projects on Github, and I would like to add nightly cronjobs to my deployments servers to pull the latest version from github. I am currently doing this by generating keypairs on every deployment server and adding the public key to the github project as 'Deployment key'.
However, I recently found out that t...
I'd like to have some modifications that are private to my fork. How do I go about doing this?
There's a question here about pushing a single commit, and the answer is to cherry-pick the commits you want to push from a private branch and put them on the main branch. However, I would like something more along the lines of ignoring a cert...
I'd like to make my local repo point to a different fork of the same project. Will this work?
Do a merge with the 'target origin'
Change the origin repo in my config file to the 'target origin'
Also, if my local repo is not entirely identical to the new origin (say, I've resolved some merge conflicts in my favor), will these changes ...
I just saw the first git tutorial at http://blip.tv/play/Aeu2CAI
How does git store all the versions of all the files and still be more economical in space than subversion which saves only the latest version of the code?
I know this can be done using compression but that would be at the cost of speed, but this also says that git is muc...
I have a .gitignore file in my project directory and I placed the following entry in the file to not to commit the files in the following folder:
EStudyMongoDb.Integration.Test\
For some reason Git pushed the files to repository anyway!
Anyway! now I want to remove those files that have been pushed to the repository but I don't wan...
I'm customizing my git log to be all in 1 line. Specifically, I added the following alias:
lg = log --graph --pretty=format:'%Cred%h%Creset - %C(yellow)%an%Creset - %s %Cgreen(%cr)%Creset' --abbrev-commit --date=relative
So, when I run git lg, I see the following:
* 41a49ad - zain - commit 1 message here (3 hours ago)
* 6087812 - zai...
How to backup git server?
When git server is broken, How can I push my local repository to a new git server?
...
I'm trying to set up a Windows-based web server, but do the development work on Mac OSX. I installed freeSSHd and msysGit on the Windows server, and set up a repository where I want it. I also have git on my Mac and set up a repo there too. When I try to clone, pull from, or push to the windows repo via SSH, it gives me an error, "fata...
I'm getting this error message from git.What's this mean ? How to fix?
...
I've been 'playing' with git on my own machine for 6 months now, and really loving it.
However, I'm finding it difficult to really grok how I would use it in a team/enterprisey environment. (I'm wondering whether Eric Sink is right).
I started out trying to install a git server on windows, but that didn't go too well.
So I wondered ab...
I have a big repository in a shared folder.
I use git from within a VM on that folder.
Everything works nice, but the repository is big
and git's searching through all directories and files
when committing is slow.
I cannot move this repository out of the shared folder.
I tried to git add specific files and directories,
but when I do gi...
I have bunch of ruby scripts in a git repository and it seems to be really hard to enforce people to write properly indented code.
I also have a small ruby script that formats to code to specific standard and now i would like to run that as a a filter script so that junk wont get committed into repository.
echo "*.rb filter=rubyfilte...
I am in the process of implementing a review process for my small team (3 members).
We are using git, and the model we want to use is integrator with blessed repository. Every developer has a public repo, and the integrator pulls the commits to include into the blessed repo.
I see several alternatives for including reviews in this new ...
im actually working with git, i add without problem the entire directory where i'm building the website.
how git treat the images?
...