I want to use git archive to make backups of my repository, but the backups created do not contain the .git folder. Is there an option to pass in to force it to include the .git folder? I mean it includes gitignore, etc anyway...Thanks.
...
[Update 9/16/2010]
After looking into this last night, I realized that my original question was really asking 2 separate things:
1) Is it possible to set the post-update hook for all remote repositories created by gitosis (i.e. not have to manually perform mv hooks/post-update.sample hooks/post-update for after creating a repository in...
does dcommit stand for Distributed Commit? Something else?
...
So I have a few private git repositories that are different language implementations (Python, Java, etc.) of an algorithm. Each implementation is functionally identical, performing the same steps and giving the same output. Currently, these are separate repos, but I was wondering if I shouldn't unify them into one repo, with directorie...
I cloned a repository with the clone command successfully. BUT, I tried to push after commit and I get this error.
$ git push [email protected]:taraloca/QuitIt.git
Permission denied (publickey).
fatal: The remote end hung up unexpectedly
Any ideas?
...
Hi,
So, I'm using this script: http://mojodna.net/2009/02/24/my-work-git-workflow.html which creates svn-like diffs from git for use in ReviewBoard. The thing is, running git diff produces no output, but git svn-diff produces a huge output (files that HAVE changed, but not recently).
I've created a local branch from the remote branch a...
I did git checkout master. If I do git status it shows two changed files in my working directory, even though I haven't touched them. It appears to be some sort of line ending issue.
git reset --hard HEAD doesn't help too.
I have set core.ignorecase=true, doesn't help.
What's wrong here? Git on Windows is still bugging me like hell......
Can some one please explain what a barebones repo is? And how I can setup one in my dropbox to store to? There are other questions mentioning to do this, but I can't seem to get a clear explanation of a what a barebones repo is, where to set it up (except for the recommendation of in your dropbox to allow for backup - which is a good ide...
Hi
I have several (about 10-15) Git repositories in a directory:
~/plugins/admin
~/plugins/editor
~/plugins/etc
Each have their own separate repository and remote server.
The problem is that to pull all the changes from all the repositories I have to:
cd ~/plugins/admin
git pull origin master
password: ********
cd ..
cd ~/plugins/...
Hi
We have a website that has all its PHP/HTML/JS/CSS/etc files stored in a Git repository.
We currently have 3 types of computers (or use cases) for the repository.
Local developer: pull latest changes, make changes, commit to local repo, push to master server
Master server: central repository, all changes get pushed to the master s...
Hi,
I am trying to migrate my svn repo from svn to git and it keeps on failing, it stops with the following output:
W: -empty_dir: trunk/ncontinuity2.core/extensions
When I do a git branch -a, it shows that it has not moved all the branches and indeed displays some branches that have been previously delted.
I have decide I can live w...
Hello,
We have a file that we need to be tracked in our Git repository. Most users need to be using this file as normal: committing changes to it, pushing, pulling, etc…
We have one user for whom this file causes various computer issues, and never uses this file regardless. We want this user's repo to "skip" dealing with this file alto...
Since git does not recognize symbolic links that point to outside of the repository.
is there any problem using hard links ?
Git could break them ?
Can point me to detailed information ?
...
I'm new to GIT and I'm having long thoughts about how to use GIT to manage my projects structured as below.
CODE1
L .metadata
L appleserver
L shared-code-archive = common with bananaserver
L logger-archive = common with bananaserver
CODE2
L .metadata
L bananaserver
L shared-code-archive = common with appleserver
L logger-archive = co...
I'm considering using GitHub as our primary tool for doing code review. With features like in-line commenting and compare view, it seems to have a lot of features that tools like Gerrit have on offer.
Has anyone else used GitHub for this? If so, what is your workflow? And what have your experiences been doing so, both positive and negat...
Had to transfer code (the whole project history) to another dev shop today and was wondering if it's a good idea to zipup the bare git repository our team use for collaboration and just send it verbatim?
Is it safe to do as such?
Is there any sensitive data stored in a .git folder?
...
Hi,
I have a git repo as my master project. It has some sub-modules added to it.
It look like:
~/super_project/ <- main git repo
~/super_project/plugins/admin <- sub-module
~/super_project/plugins/editor <- sub-module
All that's fine, its committed and working.
But when I push the super project to origin/master, an...
Hi,
I am trying to migrate from git to svn with the following command:
git svn clone --stdlayout https://my_sourcecontrol
or with git2svn
svn2git --notags https://sourcecontrol -v
During the migration, it just stops with the following statement:
W: -empty_dir: directory
When I do a git branch -a
I see it has imported the tags ...
We have migrated from svn to git and I want to know systems that are
good in integration with git. With svn we've used trac as task and bug
tracker and a source/diff viewer. Now we are still using trac with
GitPlugin, but there are some annoying things (it's too slow, there
are some bugs and we miss some features).
So, my question is wh...
Say I've got a project under git version control. Within that project, I have a folder called "third_party_tools." And within that folder, I've got a folder called "some_open_source_tool," which was cloned from github.
Will this cause problems? Can I check the tool into git for my project and retain the ability to pull from github if th...