Git is an open-source DVCS (Distributed Version Control System).
learn more… | top users | synonyms | git jobs
0
votes
0answers
2 views
How to move function declaration to another file yet retain Git history?
I am refactoring a single-file PHP script to declare functions and classes in separate files. How does one move a block of code from one file to another file yet preserve the Git history for each ...
1
vote
0answers
9 views
How to get src folder under project-root folder in github when staging from eclipse using egit
Current scenario :
In Eclipse when we create a project, say a PyDev project named ‘SimpleGit’, the folder structure created by eclipse will be like
EclipseWorkingDirectory/SimpleGit/src/
correct?
...
0
votes
0answers
7 views
GIT remote server backup onto aws server
Need you help in getting the correct approach to sync/backup all my remote repositories located at one server to another aws server. Basically I need to take a backup on regular basis and host it on ...
0
votes
1answer
13 views
Git on server with nginx
I was looking for manual how to set up git on server with nginx and I haven't found it.
I've logged in to server by ssh with root user, installed git-core and created a bare repo. Whats next? How to ...
0
votes
0answers
5 views
How to avoid Jenkins think the build is fixed when it builds another branch?
We use the git plugin to build all the branches of our repo (Branch specifier is **).
The problem is if branch A breaks, we get notified by email.
However, if someone pushed to branch B and it ...
0
votes
1answer
26 views
Git not working
recently I installed Git (Using Bit bucket for repository). I configured everything according to different guides I found on net. But the problem I'm getting is whenever I use the command git push -u ...
1
vote
1answer
24 views
How to use gem from GitHub on Heroku?
I've forked the redis depository on github to https://github.com/lmirosevic/redis-rb
I added it to my Gemfile:
gem 'redis', :github => 'lmirosevic/redis-rb'
And I require the gem inside my ...
1
vote
1answer
12 views
git merge branch overwriting destination
I have this question: my repository have a master and dev branch, at this time I wish merge the dev with the master, or better, not a merge, but total replacement the content of the master branch with ...
0
votes
0answers
8 views
git svn dcommit fails because of assertion error “svn_fspath__is_canonical(child_fspath)” (cygwin)
I hope anybody can help me.
When I try to push my local git branch to the svn server this will always result into this error:
$ git svn dcommit
Committing to http://.../Dev_Stream/01_workspace ...
...
0
votes
1answer
30 views
Git best practices in everyday collaboration
Are there any published guidelines from the community on using Git in a medium-sized (15 developers) team, often with members across the country?
I've been reading about Git and watched a very good ...
2
votes
1answer
13 views
Making changes to a git tag and repushing
Can I go into a tag in git and make changes and repush that tag and new changes?
I tried:
git tags
0.2.0
0.2.1
git checkout 0.2.0
Then I made some changes and did:
git add .
git ...
1
vote
1answer
15 views
working with hosted git repositories and sublime text
I haven't really used any version control until now, when a colleague sent me an invite for a project that is hosted on bitbucket. I'm not entirely sure what the workflow is supposed to be, but I do ...
0
votes
1answer
15 views
Merge specific commit from official repo into local repo
Suppose on 1st Jan, I forked (origin) and cloned(local) a github repo(upstream). I created a branch X on its master. And, started working on X. Over the time, I kept pushing the commits to origin.
I ...
1
vote
1answer
19 views
Git Svn clone certain revision, and continue cloning other revisions in the future
I am converting my svn repo to git. It is a very large repo and it keep failing, therefore I have to clone only part of it. I used the following command:
git svn clone -r100000:HEAD ...
2
votes
0answers
23 views
Imposible to checkout Git code for Windows 8 via TortoiseGit or msysGit. Works fine with Ubuntu Git. “Submodules error”
My Setup:
OS: Windows 8 x64
I use these VCS:
msysgit
http://code.google.com/p/msysgit/
and TurtoiseGit:
http://code.google.com/p/tortoisegit/
Server: Zend Server (LAMP) for Windows
So Git ...