Re: [git-users] Is it possible cp some file from one branch to another without switch branch

2012-12-17 Thread Rick DeNatale
git checkout B -- somefile On Mon, Dec 17, 2012 at 7:58 AM, lei yang yanglei.f...@gmail.com wrote: Hi expert, now I'm in the branch A, I want to copy some file from branch B to A any help? Lei -- -- Rick DeNatale Google+: +Rick DeNatale https://plus.google.com

Re: [git-users] Process of branching

2012-09-10 Thread Rick DeNatale
to master in his local repo. So that stash will only save any uncommitted changes since the last commit. I believe that my suggestion will leave him in the same state as if he had started the branch at the 'right' time in the past. -- Rick DeNatale Google+: +Rick DeNatale https://plus.google.com

Re: [git-users] Process of branching

2012-09-10 Thread Rick DeNatale
Siwiński http://siwinski.info Wysłano z telefonu. 10-09-2012 17:22, Rick DeNatale rick.denat...@gmail.com napisał(a): On Mon, Sep 10, 2012 at 8:55 AM, Łukasz Siwiński lsiwin...@gmail.comwrote: Hmm... Local Repo 12 commits ahead of origin/master means, that You haven't pushed your last 12

Re: [git-users] Process of branching

2012-09-09 Thread Rick DeNatale
(5) Next we tell the new branch to merge changes to the right branch on origin (6) Note this remote branch won't exist yet. Finally we checkout the new local branch(7) and push it to the remote repo. -- Rick DeNatale Google+: +Rick DeNatale https://plus.google.com/10254117893106790 Blog: http

Re: [git-users] git checkout file silently fails

2012-09-07 Thread Rick DeNatale
to use as a treeish. A branch is really just in effect a variable pointer to a commit. http://www.scribd.com/doc/65739673/12/The-Treeish#outer_page_41 et. seq. (see page 42) -- Rick DeNatale Google+: +Rick DeNatale https://plus.google.com/10254117893106790 Blog: http

Re: [git-users] Re: getting the tag corresponding to a git commit

2012-01-29 Thread Rick DeNatale
(linear here to simplify, with parents to the left and children to the right a(v0.1) b c d(v1.1) e Then git tag --contains x will return v0.1 AND v1.1 if x is d or e and v0.1 if x is any of a, b, or c. Note that not ever commit has a tag. -- Rick DeNatale Google+: +Rick DeNatale https

Re: [git-users] Git source code for productivity measurement, using semi-auto half-hourly commits.

2011-09-08 Thread Rick DeNatale
-users@googlegroups.com. To unsubscribe from this group, send email to git-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/git-users?hl=en. -- Rick DeNatale Blog: http://talklikeaduck.denhaven2.com/ Github: http://github.com/rubyredrick

Re: [git-users] Security experts from Cyberoam, Novell, Wipro, IBM all at one place @Security Conf (April 9th, Mumbai)

2011-03-30 Thread Rick DeNatale
for news and information for professionals. Which was no doubt achieved by spamming new-groups with irrelevant posts. -- Rick DeNatale Blog: http://talklikeaduck.denhaven2.com/ Github: http://github.com/rubyredrick Twitter: @RickDeNatale WWR: http://www.workingwithrails.com/person/9021-rick

Re: [git-users] Re: Output from push

2010-12-10 Thread Rick DeNatale
or no branch at all. -- Rick DeNatale Blog: http://talklikeaduck.denhaven2.com/ Github: http://github.com/rubyredrick Twitter: @RickDeNatale WWR: http://www.workingwithrails.com/person/9021-rick-denatale LinkedIn: http://www.linkedin.com/in/rickdenatale -- You received this message because you

Re: [git-users] Re: Output from push

2010-12-10 Thread Rick DeNatale
.git/HEAD is exactly where git stores the notion of the curent branch if it contains something like ref: refs/heads/master Then the current branch is master If it just contains a sha then HEAD is detached and there IS no current branch. Which was my point. -- Rick DeNatale Blog: http

Re: [git-users] getting a list of branches

2010-08-24 Thread Rick DeNatale
format. ls -1 .git/refs/heads Note that it's dash one, not dash ell -- Rick DeNatale Blog: http://talklikeaduck.denhaven2.com/ Github: http://github.com/rubyredrick Twitter: @RickDeNatale WWR: http://www.workingwithrails.com/person/9021-rick-denatale LinkedIn: http://www.linkedin.com

Re: [git-users] Re: How to move the master?

2010-08-13 Thread Rick DeNatale
. -- Rick DeNatale Blog: http://talklikeaduck.denhaven2.com/ Github: http://github.com/rubyredrick Twitter: @RickDeNatale WWR: http://www.workingwithrails.com/person/9021-rick-denatale LinkedIn: http://www.linkedin.com/in/rickdenatale -- You received this message because you are subscribed

Re: [git-users] Re: How to move the master?

2010-08-13 Thread Rick DeNatale
this. I use the grb ruby gem to handle tasks like this and this is how it approaches renaming a remote branch. -- Rick DeNatale Blog: http://talklikeaduck.denhaven2.com/ Github: http://github.com/rubyredrick Twitter: @RickDeNatale WWR: http://www.workingwithrails.com/person/9021-rick-denatale

Re: [git-users] Re: help - pushes not reflected on remote origin

2010-05-07 Thread Rick DeNatale
or ... But I guess there's no reason why you couldn't do that. HTH -- Rick DeNatale Blog: http://talklikeaduck.denhaven2.com/ Github: http://github.com/rubyredrick Twitter: @RickDeNatale WWR: http://www.workingwithrails.com/person/9021-rick-denatale LinkedIn: http://www.linkedin.com/in/rickdenatale

Re: [git-users] Fixing up a branch on a stale branch point

2010-04-15 Thread Rick DeNatale
On Thu, Apr 15, 2010 at 6:45 PM, Charles Manning mannin...@actrix.gen.nz wrote: On Friday 16 April 2010 01:15:42 Rick DeNatale wrote: On Thu, Apr 15, 2010 at 12:59 AM, Charles Manning mannin...@actrix.gen.nz wrote: Hi All I have an issue that I think I can resolve in a messy way, but I

Re: [git-users] How do you exclude files from being merged by git pull, push etc?

2010-03-31 Thread Rick DeNatale
to git-us...@googlegroups.com. To unsubscribe from this group, send email to git-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/git-users?hl=en. -- Rick DeNatale Blog: http://talklikeaduck.denhaven2.com/ Twitter: http://twitter.com

Re: [git-users] Re: How do you exclude files from being merged by git pull, push etc?

2010-03-31 Thread Rick DeNatale
On Wed, Mar 31, 2010 at 12:11 PM, vfclists vfcli...@googlemail.com wrote: On Mar 31, 4:20 pm, Rick DeNatale rick.denat...@gmail.com wrote: Is this what you are looking for? http://www.gitready.com/beginner/2009/01/19/ignoring-files.html Using .gitignore is something I have considered

Re: [git-users] Re: git const branch

2009-11-27 Thread Rick DeNatale
to a current release, the I tag it and push the tag. -- Rick DeNatale Blog: http://talklikeaduck.denhaven2.com/ Twitter: http://twitter.com/RickDeNatale WWR: http://www.workingwithrails.com/person/9021-rick-denatale LinkedIn: http://www.linkedin.com/in/rickdenatale -- You received this message because you

Re: [git-users] Re: git const branch

2009-11-27 Thread Rick DeNatale
On Fri, Nov 27, 2009 at 1:58 PM, Konstantin Khomoutov khomou...@gmail.com wrote: On Nov 27, 9:51 pm, Rick DeNatale rick.denat...@gmail.com wrote: Some branches in git are tracking another branches (for example, usually master tracks origin/master). Let's assume, that in my work- flow i don't

[git-users] How to copy a complete remote repository to another one

2009-11-04 Thread Rick DeNatale
--mirror to another? -- Rick DeNatale Blog: http://talklikeaduck.denhaven2.com/ Twitter: http://twitter.com/RickDeNatale WWR: http://www.workingwithrails.com/person/9021-rick-denatale LinkedIn: http://www.linkedin.com/in/rickdenatale --~--~-~--~~~---~--~~ You

[git-users] Re: help for losed files after git commit.

2009-09-10 Thread Rick DeNatale
file_1 is disappeared. Can I find it? It should be on the branch git checkout branch_1 and the file should be in your working set. Now if you want to merge the changes back to master: git checkout master git merge branch_1 -- Rick DeNatale Blog: http://talklikeaduck.denhaven2.com/ Twitter