when I do :
git pull BranchName
it tells me everything is up to date but I know that is not true. When I do:
git pull origin BranchName
then I get the files I was expecting.
Is there an easy way to answer this or do I need to provide more details.
PS One thing I did do just to understant themechanics of git is give the branch name...
Hello!
I recently used git-svn to clone an SVN repository, for the purposes of maintaining my own branch of an open-source project.
I'm also working with others on this branch, so we use a shared Git repository to help with the collaboration.
A colleague wishes to fetch new revisions from the original SVN repository. How might he acco...
My repository looks like:
X - Y- A - B - C - D - E branch:master
\ \
\ \ merge master -> release
\ \
M --- BCDE --- N branch:release
Here "M - BCDE - N" are manually (unfortunately!) applied changes approximately same as separate comm...
In response to a question about pulling one commit at a time from a git repository, I was recommended to use git remote update instead of git fetch. I have read both man pages but cannot say I understood either in its entirety.
Can anyone explain to me how git fetch origin and get remote update origin behave differently?
...
I accidentially discard my changes on files in my local working tree via git checkout. The files aren't staged at this time. Is it posible to "undo" this checkout?
...
I have a git repo which has a few branches - there's the master branch, which is our stable working version, and then there is a development/staging branch which we're doing new work in.
Unfortunately it would appear that without thinking I was a bit overzealous with rebasing and have pulled all of the staging code into Master over a pe...
We have a project where 99% of the code is PL/SQL, including the front end (Oracle forms). All 10 developers use the same DB instance for developement. The project is big (thousands of DB objects) so there is rarely any contention and any that exist is serialized by locking objects in Subversion before making any changes to them in DB (t...
I've just rebased a feature branch onto another feature branch (in preparation for rebasing everything to the head of my master), and it involved quite a few tricky merge resolutions.
Is the rebase automatically saved as a commit somewhere?
Just where do those modifications live? I can't see anything in gitk, or git log --oneline.
(S...
I am aware of this question, but not to sure how to map it to my current situation. (Rebase is scary, undoing rebase is double scary!)
I started out with several different feature branches of my master:
master x-x-x-x-x-x-x-x-x-x
\ \ \
FeatureA 1-2-3 \ \
FeatureB A-B \
FeatureC ...
Do you have any advice as how to setup a Dropbox like service using git?
Do you think git is the right tool for this?
I was thinking about using a git + rush solution what do you think about it?
...
I have one branch (let's call it B) that ignores a certain file, which isn't ignored in some other branches (eg branch A). When i switch from branch B to branch A, then back to B again, the file has been deleted.
Is this normal? I can sort of see how it would happen, in the sense that branch B thinks it's not there, and branch A think...
I've got a git repository that I'd like to mirror to a Perforce repository. I've downloaded the git-p4 script (the more recent version that doesn't give deprecation warnings), and have been working with that. I've figured out how to pull changes from Perforce, but I'm getting an error when I try to sync changes from the git repo back. He...
As the title suggests, I am curious as to why so many people tout Git as a superior alternative to branching/merging over SVN. I am primarily curious because SVN merging sucks and I would like an alternative solution.
How does Git handle merging better? How does it work?
For example, in SVN, if I have the following line:
Hello World!
...
Crap! About a week ago, I was rebasing some commits while trying to clean up my repository, and apparently I didn't actually finish it. Today, a week and several commits later, I went to rebase to reorder a few commits from today, and it told me I was already in the middle of a rebase.
That should have been a cue to copy my repo just in...
I'm using svn. I have two branches and on both of them were performed a lot of changes.
In addition of one of the branches a lot of files were renamed, so now svn can not help me merge changes in those files (well know svn limitation).
Is it possible using git-svn to perform the merge of the branches?
Will git-svn handle renamed files ...
When I say 'git checkout ' I want zsh to autocomplete names of my git branches. Is that possible?
...
I started a new project and created a local git repo with "git init" and now I have a few branches and everything works great.
However, since my webhosting company offers git hosting (details if you're curious), I'd like to push my entire repo to their servers to have a backup in the cloud in case something bad happens to my local repo....
I have two separate git repositories for the same version of a single website.
domain.com-1.0
domain.com-2.0
Version 2.0 was completely redone from the ground up. There is no bridge between the two repositories. I would now like to merge the two into a single repository, but maintain the separation.
I have already tagged domain.com...
I am relatively new to Git, and I'm still not very comfortable with it. Right now, I'm looking for the command/options/magic that can make the current branch look like another branch; that is, to merge them, but when a conflict arises, to always choose the difference in the branch that is being merged into the current one.
My situatio...
I'm reading about using git as an svn client here:
http://learn.github.com/p/git-svn.html
That page suggests that you do git svn rebase before git svn dcommit, which makes perfect sense; it's like doing svn update before doing svn commit. Then, I started looking at the documentation for git svn dcommit (I was wondering what the 'd' is ...