Re: [git-users] Help! Git pull deleted files.

2012-12-28 Thread Trans
Thanks guys! Very helpful information. Allowed me to be confident about proceeding. Problem has been fixed and it went smoothly. I am still not sure how the repo could have gotten in that state since I am just about 100% positive there was no other push from anywhere. I will have to investigate

[git-users] Re: Help! Git pull deleted files.

2012-12-28 Thread Trans
Doing some research. $ git reflog 6d86f4c HEAD@{0}: commit: Simplify configuration using RUBY_PATH. [major] e6ca6f1 HEAD@{1}: commit: Step toward getting direct LEDGER references out of Library. 7219018 HEAD@{2}: commit: Minor refactorings to Ledger class. So I am thinking I just do:

[git-users] Help! Git pull deleted files.

2012-12-28 Thread Trans
Hi, I just screwed my repo and need advice on how to get it back. I have been doing some major work on a project, and was finally ready to push it. Foolish me did the work in master. So I go to push and I am told, "To prevent you from loosing history non-fast-forward updates were rejected...".

[git-users] Re: Convert branch into a tag

2012-08-05 Thread Trans
On Saturday, July 28, 2012 12:16:44 PM UTC-4, Antony Male wrote: > > > Something like the following will work fine: > > First, create a new tag called at the same point as the branch > > > git tag > Oh, so the branch and tag names won't conflict? -- You received this message because

[git-users] Re: dropbox & git

2012-07-28 Thread Trans
Might eat up a lot of space after a while. Plus how often is dropbox synced? I'm not sure why you would want a local git repo in dropbox, since in this case it is already "backed-up" on GitHub's servers. -- You received this message because you are subscribed to the Google Groups "Git for huma

[git-users] Convert branch into a tag

2012-07-28 Thread Trans
Somehow I have branch that was supposed to be a tag. Not sure how it ever became a branch, but now that I have discovered it I am wondering, how do I convert the branch into a tag? Since the name will be the same for both the branch and the tag, I assume I can just checkout the branch and tag i

[git-users] Re: Cloud computing and Git

2012-04-01 Thread Trans
Heroku is your friend if you have the $. On Friday, March 30, 2012 2:04:40 PM UTC-4, Yves S. Garret wrote: > > Hi, > >My organization has fallen in love with cloud computing (yay, > progress, moving into the future!) What I would like to know is how I > can combine the cloud and Git. I'd

Re: [git-users] Re: Help! Git deleted my files!

2012-01-11 Thread Trans
Ok. That makes some sense. -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To view this discussion on the web visit https://groups.google.com/d/msg/git-users/-/JiwrQLfEtUYJ. To post to this group, send email to git-users@googlegroups.co

[git-users] Re: Help! Git deleted my files!

2012-01-11 Thread Trans
Ah, good to know. Thanks. -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To view this discussion on the web visit https://groups.google.com/d/msg/git-users/-/9azpXq6M47sJ. To post to this group, send email to git-users@googlegroups.com

[git-users] Re: Help! Git deleted my files!

2012-01-10 Thread Trans
I figured it out. $ git reflog Then $ git checkout -b someName shaOfResetCommit Thankfully git doesn't actually delete anything for some 90 days after the fact. My mistake was to use `--hard`, but I didn't think it would delete the files b/c there were not being tracked before this parti

[git-users] Help! Git deleted my files!

2012-01-10 Thread Trans
I just added the complete contents of a directory to my project, and committed. $ git add foo/ $ git commit -m "Add foo." Then I realized that I actually did not want to add all those files. So I tried to step back with: $ git reset --hard HEAD^ Git rolled back the commit okay, but also

Re: [git-users] Change date of tags

2011-12-12 Thread Trans
On Sunday, December 11, 2011 3:13:44 PM UTC-5, Konstantin Khomoutov wrote: > > "Patching" a tag sounds odd for a system which is about keeping immutable > objects referencing each other by cryptographic hashes of their > contents. > > Unfortunately, git-tag seems not to support anything like -c o

Re: [git-users] Change date of tags

2011-12-11 Thread Trans
Yep. Thanks. I've read it. But it only speaks of creating missing tags. I was wondering if there is a way to adjust the data of an existing tag. I can of course delete the tag and retag --which is what I am doing presently. Unfortunately that means checking out previous tag, copy tag message, d

[git-users] Change date of tags

2011-12-11 Thread Trans
On some project's I've gone back a tagged things I had forgotten to tag when I should have. While I thought all was peachy, I realized later that the tag then have the wrong dates associated with them. Is there any way to change the date of a tag other then to delete the tag and retag it? Than

[git-users] Re: pull says up-to-date, push says no

2011-12-06 Thread Trans
Thanks. That's a good idea. -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To view this discussion on the web visit https://groups.google.com/d/msg/git-users/-/OHuvyjgV3Q8J. To post to this group, send email to git-users@googlegroups.c

[git-users] Re: pull says up-to-date, push says no

2011-12-03 Thread Trans
Never mind. As usual the problem was that I was not in the master branch. I wish git would point out the current branch when these errors arise. -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To view this discussion on the web visit h

[git-users] pull says up-to-date, push says no

2011-12-03 Thread Trans
I simply don't understand: $ git pull upstream master From github.com:benbjohnson/smeagol * branchmaster -> FETCH_HEAD Already up-to-date. $ git push upstream master To git(at)github.com:benbjohnson/smeagol.git ! [rejected]master -> master (non-fast-forwa

[git-users] Re: Can't push old tag

2010-07-01 Thread Trans
On Jul 1, 1:53 pm, Konstantin Khomoutov wrote: > On Jul 1, 8:00 pm, Trans wrote: > > > I tried to push my tags for the first time and an old tag is throwing > > an error: > > >   $ git push --tags > >   To g...@github.com:proutils/vclog.git > >    ! [re

[git-users] Can't push old tag

2010-07-01 Thread Trans
I tried to push my tags for the first time and an old tag is throwing an error: $ git push --tags To g...@github.com:proutils/vclog.git ! [rejected]1.4.0 -> 1.4.0 (non-fast forward) error: failed to push some refs to 'g...@github.com:proutils/ vclog.git' But my current tag is 1.7

[git-users] Re: Pipe a message into git tag

2010-06-19 Thread Trans
On Jun 19, 1:46 pm, Peter Shenkin wrote: > On Sat, Jun 19, 2010 at 1:24 PM, Trans wrote: > > I'm not a bash expert, so I need to ask, who can I "pipe" a message > > into the git tag command? I have a program that will return my latest > > release notes

[git-users] Pipe a message into git tag

2010-06-19 Thread Trans
I'm not a bash expert, so I need to ask, who can I "pipe" a message into the git tag command? I have a program that will return my latest release notes. $ pom news ... message ... So I want to pipe that into git tag as the tag message. I've been trying to figure it out. The docs say that ther

[git-users] Re: Replacing upstream changes with my local and proper fix

2010-06-07 Thread Trans
On Jun 7, 5:50 pm, Jacob Helwig wrote: > On Mon, Jun 7, 2010 at 14:48, Trans wrote: > > > On Jun 7, 5:31 pm, Jacob Helwig wrote: > > >> You're probably best off reverting the commit(s) that brought in the > >> changes you don't want, before merging

[git-users] Re: Replacing upstream changes with my local and proper fix

2010-06-07 Thread Trans
On Jun 7, 5:31 pm, Jacob Helwig wrote: > You're probably best off reverting the commit(s) that brought in the > changes you don't want, before merging in your changes.  Your merge > will then be able to go forward as though the other changes had never > happened. Ok thanks. So I should move my

[git-users] Replacing upstream changes with my local and proper fix

2010-06-07 Thread Trans
Hi-- I am working on a project with another developer. He was having some issues getting things working so he made some changes and pushed them up to the master repo. However, his changes were the wrong way to go about it. If only a couple of lines were affected I would just pull it down and go fr

[git-users] Re: Pissed at Git!

2010-06-01 Thread Trans
Sorry, make that: $ git branch recentwork 8658a39 -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To post to this group, send email to git-us...@googlegroups.com. To unsubscribe from this group, send email to git-users+unsubscr...@go

[git-users] Re: Pissed at Git!

2010-06-01 Thread Trans
On Jun 1, 4:39 pm, Dan Preston wrote: > You should be ok.  You can use the "git reflog" command to view the > history of what you've had checked out.  You can then checkout the > hash commit of your latest work again and create a branch from it.  Or > alternatively you can merge that hash back t

[git-users] Pissed at Git!

2010-06-01 Thread Trans
Looks like git just pissed away all my work for the last two months. I was doing everything like I normally do. I made my changes, committed and 'git push origin master'. Everything looked good. Git told me "Everything up-to-date". But... I went over to the project's github page (http://github.com

[git-users] Get tag date as the the last commit date as of tag

2010-05-26 Thread Trans
Okay this one is (perhaps) a little more challenging. The tag date is the date the tag was created. But to me the tag date needs to be the date of the last commit made upto that tag. Right now I extract the date via: $ tag show 1.0.0 Which gives me a header: tag 1.0.0 Tagger: 7rans Date

[git-users] Re: Change old tag messages

2010-05-26 Thread Trans
On May 26, 10:16 am, Paul Beckingham wrote: > > I screwed up some tag messages and I need to go back and change them. > > How does one do this? > > Delete the tag, and recreate it.  It is, after all, just a synonym for a > commit.  Take a look at "git help tag". Doh! Good idea! Lol :-) -- Yo

[git-users] Change old tag messages

2010-05-26 Thread Trans
Hi-- I screwed up some tag messages and I need to go back and change them. How does one do this? Thanks. -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To post to this group, send email to git-us...@googlegroups.com. To unsubscribe fr

[git-users] Re: 'v' prefix on version tags

2010-05-26 Thread Trans
On May 20, 4:10 am, David Aguilar wrote: > Maybe not a huge deal, but you do lose the ability to do: > >         % git describe --match='v*' That's an interesting point. Although it precludes naming a tag starting with the letter 'v' unless it is in fact a version. Is it not possible to use a re

[git-users] Re: 'v' prefix on version tags

2010-05-07 Thread Trans
On May 7, 7:57 am, Konstantin Khomoutov wrote: > On May 7, 12:51 am, Trans wrote: > > > I notice that almost every tagging example uses a version number with > > a prefixed 'v', e.g. > > >   $ tag -a -m "first major point release" v1.0.0 > >

[git-users] 'v' prefix on version tags

2010-05-06 Thread Trans
I notice that almost every tagging example uses a version number with a prefixed 'v', e.g. $ tag -a -m "first major point release" v1.0.0 I, on the other hand, have never bothered with 'v' prefix, and have always done, e.g.: $ tag -a -m "first major point release" 1.0.0 Is there some reason

[git-users] Re: how to merge a maintenance release?

2010-04-28 Thread Trans
On Apr 28, 2:27 am, Marek Wywiał wrote: > On 27 Kwi, 22:07, Trans wrote: > > > Perhaps someone can instruct me on the proper approach, I can't seem > > to find any specific documentation on this. > > > I recently released a version of my project, for simplici

[git-users] how to merge a maintenance release?

2010-04-27 Thread Trans
Perhaps someone can instruct me on the proper approach, I can't seem to find any specific documentation on this. I recently released a version of my project, for simplicity call it 1.0. Then I began work on version 2.0. I realize I should have created a branch for it, but I didn't, I got a head of

[git-users] The case for re-tagging?

2010-03-02 Thread Trans
Hi-- Can anyone here tell me of cases when they felt its was necessary to re-tag a repo (with the same tag as had been used previously)? Git allows this, though in the docs it clearly warns against it, especially if you have pushed the tags. But it still does not forbid it and even provides a way

[git-users] Re: Two issues with remote repository used for a website

2010-02-10 Thread Trans
On Feb 10, 5:13 pm, "FlashWebHost.com" wrote: > Use hooks, here is what i use > > [fsh...@server58 hooks]$ cat post-update > #!/bin/sh > # > # An example hook script to prepare a packed repository for use over > # dumb transports. > # > # To enable this hook, rename this file to "post-update". >

[git-users] Two issues with remote repository used for a website

2010-02-10 Thread Trans
t permissions to use? Thanks, ~Trans -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To post to this group, send email to git-us...@googlegroups.com. To unsubscribe from this group, send email to git-users+unsubscr...@googlegroup

[git-users] Simple Idea for Git Subprojects

2010-01-26 Thread Trans
Was reading: http://git.wiki.kernel.org/index.php/SubprojectSupport Wouldn't a simple solution be to have a special super-project repo type, such that all subdirectories are .git roots? (or I suppose it could be recursive too, so all subdirectories are either .git roots or themselves "super-roots"

[git-users] Re: Sync with a Master

2010-01-26 Thread Trans
On Jan 7, 1:22 am, David Aguilar wrote: > > 1. git remote add upstream git://github.com/upstream/project.git > 2. git fetch upstream > 3. git reset --hard upstream/master > 4. git push origin +master > > 1. Add a reference to the repo you forked from > 2. Fetch its branches > 3. Reset your curre

[git-users] Re: Sync with a Master

2010-01-06 Thread Trans
On Jan 6, 10:51 am, "Michael P. Soulier" wrote: > On 06/01/10 Trans said: > > > I am using github. So I have my own fork. So it's more involved then > > that. I would have to delete my fork, then refork it and then reclone > > it. I was hoping for a simp

[git-users] Re: Sync with a Master

2010-01-06 Thread Trans
On Jan 6, 12:12 pm, Konstantin Khomoutov wrote: > I've just forked my friend's project on github, checked it out, > and it seems that the forked repo is not really tied to the repo > it was forked off: there's just one remote, "origin", which is > my forked repo. > So I think you have two ways

[git-users] Re: Sync with a Master

2010-01-06 Thread Trans
On Jan 6, 9:20 am, "Michael P. Soulier" wrote: > On 05/01/10 Trans said: > > > So I've cloned a repo, which is a fork of another repo. If I want to > > update my repo to match the original (and ditch any changes I may have > > made), how do I do it? >

[git-users] Sync with a Master

2010-01-05 Thread Trans
So I've cloned a repo, which is a fork of another repo. If I want to update my repo to match the original (and ditch any changes I may have made), how do I do it? -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To post to this group, send

[git-users] Re: Custom commit property?

2010-01-01 Thread Trans
On Jan 1, 7:43 pm, Jeffrey wrote: > This sounds like precisely the purpose of standard formats for log > messages.  The simplest thing would be to prefix the subject with > "[type]:" like this: > > major: add big feature > > > > or put it on the first line of the body, if you have something

[git-users] Custom commit property?

2010-01-01 Thread Trans
Is there are way to add a custom property to commits? I want to use it to track commit "type" For example, I use 'admin', 'doc', 'major', 'minor', and 'bug' to classify my commits. Thanks. -- You received this message because you are subscribed to the Google Groups "Git for human beings" group.

[git-users] subprojects and continuous history merges

2009-08-17 Thread Trans
Can any git experts here conceive of a way to have "git in git"? I want to keep a git history for each subproject, but at the same time keep all the subprojects wrapped up in a single repo. I was trying something like: myproject/ .git/ subproj1/ .git/ ... subproj2/

[git-users] Re: Mirror git repository

2009-04-19 Thread trans
On Apr 16, 10:10 am, gitster wrote: > On Apr 15, 11:45 pm, Broc wrote: > > >  it goes out to both repos instead of having to do: > >  $ git push > >  $ git push assembla > > > I've read in the docs that you can add the remote as a mirror using -- > > mirror, but AFAIK this is only for new repo