[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: 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:

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

[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

[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 human

[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 love

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] 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

[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

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 or -C of

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,

[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

[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 there

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

2010-06-19 Thread Trans
On Jun 19, 1:46 pm, Peter Shenkin shen...@gmail.com wrote: On Sat, Jun 19, 2010 at 1:24 PM, Trans transf...@gmail.com 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.  $ pom

[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

[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] 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

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

2010-05-07 Thread Trans
On May 7, 7:57 am, Konstantin Khomoutov khomou...@gmail.com wrote: On May 7, 12:51 am, Trans transf...@gmail.com 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 I, on the other hand, have

[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 to

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

2010-02-10 Thread Trans
? 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...@googlegroups.com. For more options, visit

[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 flash...@gmail.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

[git-users] Re: Sync with a Master

2010-01-06 Thread Trans
On Jan 6, 9:20 am, Michael P. Soulier msoul...@digitaltorque.ca 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? Did you follow any workflow

[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. To

[git-users] Re: Custom commit property?

2010-01-01 Thread Trans
On Jan 1, 7:43 pm, Jeffrey jefr...@gmail.com 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