Re: [git-users] Why is the Mac OS X version always way behind the latest Git version?

2014-04-13 Thread William Seiti Mizuta
If you want a newer version, you need to compile the source code. For that, clone the git repository (https://github.com/git/git), follow the instructions in INSTALL file (https://github.com/git/git/blob/master/INSTALL) and have fun. *William Seiti Mizuta * Engenheiro de Software Elo7 elo7

Re: [git-users] Git repo inside IGNORED subfolder of another Git repo

2013-11-19 Thread William Seiti Mizuta
Why don't you use submodule (http://git-scm.com/book/en/Git-Tools-Submodules) or subtree? William Seiti Mizuta @williammizuta Caelum | Ensino e Inovação www.caelum.com.br On Wed, Nov 20, 2013 at 1:47 AM, Алексей Баранов alexey2bara...@gmail.comwrote: I'm voting for a new Git feature. Git

Re: [git-users] .gitignore question

2013-11-13 Thread William Seiti Mizuta
Can you ignore all subdirectories inside cache directory? If so, just write cache in your .gitignore file. Git will ignore all cache directories independently where it was. It can be in project root or inside a directory. William Seiti Mizuta @williammizuta Caelum | Ensino e Inovação

Re: [git-users] Re: git clean help

2013-11-12 Thread William Seiti Mizuta
In which directory have you run the git clean -fd command? William Seiti Mizuta @williammizuta Caelum | Ensino e Inovação www.caelum.com.br On Wed, Nov 13, 2013 at 1:01 AM, PJ Weisberg pjweisb...@gmail.com wrote: On Nov 12, 2013 7:32 PM, David R cdrtz1...@gmail.com wrote: $ git status

Re: [git-users] Re: git clean help

2013-11-11 Thread William Seiti Mizuta
This empty directory is under untracked files state? William Seiti Mizuta @williammizuta Caelum | Ensino e Inovação www.caelum.com.br On Tue, Nov 12, 2013 at 12:04 AM, David R cdrtz1...@gmail.com wrote: git status shows the empty directory that im trying to clean -- You received

Re: [git-users] I'm struggling with the basics (2.2)

2013-11-02 Thread William Seiti Mizuta
/ignoring-files William Seiti Mizuta @williammizuta Caelum | Ensino e Inovação www.caelum.com.br On Sat, Nov 2, 2013 at 4:23 AM, icevermin the.sith@gmail.com wrote: I'm trying to figure out how to do the check status stuff (I'm using Windows 7). When I type git status into the terminal (after

Re: [git-users] I'm struggling with the basics (2.2)

2013-11-02 Thread William Seiti Mizuta
Can you show all the output of the command git status? William Seiti Mizuta @williammizuta Caelum | Ensino e Inovação www.caelum.com.br On Sat, Nov 2, 2013 at 2:56 PM, icevermin the.sith@gmail.com wrote: Yes I put a readme file inside of the grit' directory. I'm following the tutorial

Re: [git-users] Another easy merge question

2013-10-30 Thread William Seiti Mizuta
If you want to use the changes in the commits after, yes. If you don't need these commits anymore, you can just use git reset --hard origin/master and all your commits that you haven't pushed yet will be almost lost. William Seiti Mizuta @williammizuta Caelum | Ensino e Inovação

Re: [git-users] Another easy merge question

2013-10-29 Thread William Seiti Mizuta
to your remote master state with git reset --hard origin/master. When you want to recover the modifications, just merge the content of fallback branch: git merge fallback. William Seiti Mizuta @williammizuta Caelum | Ensino e Inovação www.caelum.com.br On Tue, Oct 29, 2013 at 9:07 PM, Eric Fowler

Re: [git-users] Very newbie question: how to open a .git file?

2013-10-27 Thread William Seiti Mizuta
.git is a directory, not a file. And I don't recommend you to change anything inside it if you are not very sure of. William Seiti Mizuta @williammizuta Caelum | Ensino e Inovação www.caelum.com.br On Mon, Oct 28, 2013 at 12:29 AM, googlybo...@gmail.com wrote: Thanks. -- You received

Re: [git-users] Re: Very newbie question: how to open a .git file?

2013-10-27 Thread William Seiti Mizuta
If it is a git repository, try to clone it with the command git clone file.git William Seiti Mizuta @williammizuta Caelum | Ensino e Inovação www.caelum.com.br On Mon, Oct 28, 2013 at 3:25 AM, googlybo...@gmail.com wrote: I actually received a .git file that is supposed to contain

Re: [git-users] invert gitignore

2013-10-22 Thread William Seiti Mizuta
a backslash (\) in front of the first ! for patterns that begin with a literal !, for example, \!important!.txt. Reference: http://git-scm.com/docs/gitignore#_pattern_format William Seiti Mizuta @williammizuta Caelum | Ensino e Inovação www.caelum.com.br On Tue, Oct 22, 2013 at 9:20 AM

Re: [git-users] Empty Commit?

2013-10-22 Thread William Seiti Mizuta
Hi Vicky, have you added your modified files to changes to be commited state? What is the output of git status command? William Seiti Mizuta @williammizuta Caelum | Ensino e Inovação www.caelum.com.br On Tue, Oct 22, 2013 at 1:01 PM, Vicki Kozel vickiko...@gmail.com wrote: Hello, we

Re: [git-users] Empty Commit?

2013-10-22 Thread William Seiti Mizuta
On Tue, Oct 22, 2013 at 2:20 PM, Vicki Kozel vickiko...@gmail.com wrote: git commit COMMON/pom.xml --amend You don't need to pass the file in commit command. You just need to use git commit --amend William Seiti Mizuta @williammizuta Caelum | Ensino e Inovação www.caelum.com.br -- You

Re: [git-users] Do I need to track a directory to be able to subtree and push it to a different remote branch?

2013-10-15 Thread William Seiti Mizuta
I think that you can use a hook instead of sending the dist folder. Send the app folder and then you run your grunt task in a remote hook. You can read more about server side hooks here: http://git-scm.com/book/en/Customizing-Git-Git-Hooks#Server-Side-Hooks William Seiti Mizuta @williammizuta

Re: [git-users] How to add my local repository files to a server repository?

2013-09-15 Thread William Seiti Mizuta
: git branch -r William Seiti Mizuta @williammizuta Caelum | Ensino e Inovação www.caelum.com.br On Sun, Sep 15, 2013 at 3:49 AM, Stephan Nikolaus stephan.nikol...@googlemail.com wrote: No parameters, just the adress and path of remote server. Must there be some more parameter(s)? Regards

Re: [git-users] How to add my local repository files to a server repository?

2013-09-14 Thread William Seiti Mizuta
You changed the order. It is git reset --hard origin/master William Seiti Mizuta @williammizuta Caelum | Ensino e Inovação www.caelum.com.br On Sat, Sep 14, 2013 at 6:26 AM, Stephan Nikolaus stephan.nikol...@googlemail.com wrote: Hi, it was not succesfully. The following message came

Re: [git-users] How to add my local repository files to a server repository?

2013-09-14 Thread William Seiti Mizuta
When you executed the command: git remote add, what were the parameters that you used? William Seiti Mizuta @williammizuta Caelum | Ensino e Inovação www.caelum.com.br On Sat, Sep 14, 2013 at 3:35 PM, Stephan Nikolaus stephan.nikol...@googlemail.com wrote: Yes, i did. Sorry, it was just

Re: [git-users] How to add my local repository files to a server repository?

2013-09-13 Thread William Seiti Mizuta
the commands. William Seiti Mizuta @williammizuta Caelum | Ensino e Inovação www.caelum.com.br -- You received this message because you are subscribed to the Google Groups Git for human beings group. To unsubscribe from this group and stop receiving emails from it, send an email to git-users+unsubscr

Re: [git-users] avoid git deleting tags file

2013-09-03 Thread William Seiti Mizuta
William Seiti Mizuta @williammizuta Caelum | Ensino e Inovação www.caelum.com.br On Tue, Sep 3, 2013 at 10:33 AM, dexter ietf dexter.i...@gmail.com wrote: hi, when i run git clean -xfd, git deletes my tags file. i have the tag file listed in gitignore, but how do i tell git not to remove the tags

Re: [git-users] git branch : strange !

2013-08-30 Thread William Seiti Mizuta
will cause a conflict of a modified file with a change in the branch that you want to change, Git you tell you that you need to commit before changing the branch. William Seiti Mizuta @williammizuta Caelum | Ensino e Inovação www.caelum.com.br On Fri, Aug 30, 2013 at 12:21 PM, djsuperfive

Re: [git-users] Can I use GitHub ?

2013-08-29 Thread William Seiti Mizuta
install using apt-get. - With git installed, you will be able to use it in command line. But, if you don't want use in command line, there is some softwares that offers you a GUI experience. Also, there is a plugin in eclipse that integrates with Git (EGit). William Seiti Mizuta @williammizuta

Re: [git-users] Strange problem on Mac OS X git 1.8.4

2013-08-27 Thread William Seiti Mizuta
Hi Tat-Chee I didn't get your problem. Can you tell a little more about it? William Seiti Mizuta @williammizuta Caelum | Ensino e Inovação www.caelum.com.br On Wed, Aug 28, 2013 at 12:09 AM, Tat-Chee Wan tcwa...@gmail.com wrote: Hi, I'm having a strange problem with git but only on Mac OS

Re: [git-users] Strange problem on Mac OS X git 1.8.4

2013-08-27 Thread William Seiti Mizuta
Using the command git diff, what is the differences that git tells you about the files? William Seiti Mizuta @williammizuta Caelum | Ensino e Inovação www.caelum.com.br On Wed, Aug 28, 2013 at 2:34 AM, TC Wan tcwa...@gmail.com wrote: On Wednesday, August 28, 2013 12:58:15 PM UTC+8, William

Re: [git-users] test version in the index

2013-08-23 Thread William Seiti Mizuta
You can put the not commited changes in the stash (git stash). Then you run the tests and recover the changes with git stash pop. William Seiti Mizuta @williammizuta Caelum | Ensino e Inovação www.caelum.com.br On Fri, Aug 23, 2013 at 1:55 AM, joeriel...@gmail.com wrote: After making

Re: [git-users] How to ignore commits and push with a Single one?

2013-08-12 Thread William Seiti Mizuta
and the last commit, in the last line. Change the word pick to squash in the commits that you want to merge into the previous one. When you close the file, the commits will be merged into the first commit. William Seiti Mizuta @williammizuta Caelum | Ensino e Inovação www.caelum.com.br On Tue, Aug

Re: [git-users] fatel error

2013-07-24 Thread William Seiti Mizuta
Can you give us a little more information? Like your operating system, git version... William Seiti Mizuta @williammizuta Caelum | Ensino e Inovação www.caelum.com.br On Wed, Jul 24, 2013 at 3:33 AM, Nidhi Arora nidhi.aro...@gmail.com wrote: when i use $ git clone git://git.kernel.org/pub

Re: [git-users] clone tagged version?

2013-07-15 Thread William Seiti Mizuta
git checkout tagName/hash. It will return your project to the state wanted. For example: tag v1.0:git checkout v1.0 commit 531c8dd4fb18e653d6170d367e4b23c3164d5ce0:git checkout 531c8dd4fb18e653d6170d367e4b23c3164d5ce0 William Seiti Mizuta @williammizuta Caelum | Ensino e Inovação

Re: [git-users] reverting back

2013-07-14 Thread William Seiti Mizuta
. With the hash, use the command git reset --hard hash-id to return your project to state, deleting all changes that were done after that commit. If you want only to undo the changes, preserving the mess changes in the history, use the command git revert hash-id. William Seiti Mizuta @williammizuta

Re: [git-users] reverting back

2013-07-14 Thread William Seiti Mizuta
commit will be undone in this case. In both cases, git will change the files t automatically. William Seiti Mizuta @williammizuta Caelum | Ensino e Inovação www.caelum.com.br On Sun, Jul 14, 2013 at 3:59 AM, Ed Pataky ed.pat...@gmail.com wrote: ... and git will put back the old files? On Sat

Re: [git-users] URL return error doing git pull

2013-07-12 Thread William Seiti Mizuta
want to bring. The default repository name is origin and if you want to update the master branch from your repository, then you need to use the following command: git pull origin master. William Seiti Mizuta @williammizuta Caelum | Ensino e Inovação www.caelum.com.br -- You received this message

Re: [git-users] URL return error doing git pull

2013-07-12 Thread William Seiti Mizuta
Oscar, can you show us the content of .git/config file? William Seiti Mizuta @williammizuta Caelum | Ensino e Inovação www.caelum.com.br On Fri, Jul 12, 2013 at 12:54 PM, John McKown john.archie.mck...@gmail.comwrote: On Fri, Jul 12, 2013 at 10:49 AM, John McKown john.archie.mck

Re: [git-users] git error when trying to push one commit

2013-07-10 Thread William Seiti Mizuta
Hi Richard, what is the return of the command git remote show origin? William Seiti Mizuta @williammizuta Caelum | Ensino e Inovação www.caelum.com.br On Wed, Jul 10, 2013 at 4:07 PM, Richard Marais richardmar...@gmail.comwrote: I am trying to push just one commit to origin master. However

Re: [git-users] Switching between local Git branches

2013-07-04 Thread William Seiti Mizuta
Hi Dinesh, all files that are listed in untracked files and changes not staged for commit when you use the command git status will follow you when you change branch. If you don't want it, you need to commit the changes before changing branch. William Seiti Mizuta @williammizuta Caelum | Ensino

Re: [git-users] compare the two branch and only output the content with the changed files

2013-05-25 Thread William Seiti Mizuta
You can use the diff command with the option name-only: git diff branch1 branch2 --name-only William Seiti Mizuta @williammizuta Caelum | Ensino e Inovação www.caelum.com.br On Sat, May 25, 2013 at 1:56 PM, lei yang yanglei.f...@gmail.com wrote: Hi experts, I know we can use git log

Re: [git-users] Given object file in Git, determine its path, or at least, its contents

2013-05-16 Thread William Seiti Mizuta
William Seiti Mizuta @williammizuta Caelum | Ensino e Inovação www.caelum.com.br On Thu, May 16, 2013 at 1:14 PM, Dale R. Worley wor...@alum.mit.edu wrote: I have a brand new, large file in my repository. I know that its object file is: .git/objects/87

Re: [git-users] How do I modify the commit message (not the topmost one) of a git commit?

2013-05-04 Thread William Seiti Mizuta
from commit D, then you will need to get the hash from commit C. With this, use the command git rebase -i hash-C. It will open an editor with commits D, E and F. To change D commit's message, change the word that appears in front of D from pick to reword. William Seiti Mizuta @williammizuta Caelum

Re: [git-users] recover from hard reset

2013-04-29 Thread William Seiti Mizuta
William Seiti Mizuta @williammizuta Caelum | Ensino e Inovação www.caelum.com.br On Mon, Apr 29, 2013 at 3:16 AM, Lei Yang yanglei.f...@gmail.com wrote: hi You misunderstand my question,I want to recover my local changes, after I do a hard reset ,it's gone. Sent from my iPhone As Thomas

Re: [git-users] All commits are 'unpushed'

2013-04-28 Thread William Seiti Mizuta
Seiti Mizuta @williammizuta Caelum | Ensino e Inovação www.caelum.com.br -- You received this message because you are subscribed to the Google Groups Git for human beings group. To unsubscribe from this group and stop receiving emails from it, send an email to git-users+unsubscr...@googlegroups.com

Re: [git-users] How to rearrange commits in a repo

2013-04-25 Thread William Seiti Mizuta
You can use the command git rebase with interactive option. To use it, type git rebase -i hash, where hash is the commit hash before the list of commits that you want to rearrange. With that, the default editor will open and changing the line order, you will change the commits order. -- You

Re: [git-users] How can I get base commit-ID when cherry-pick conflict occurs.

2013-04-17 Thread William Seiti Mizuta
William Seiti Mizuta @williammizuta Caelum | Ensino e Inovação www.caelum.com.br On Wed, Apr 17, 2013 at 5:10 AM, seonguk.baek baekseon...@gmail.com wrote: Hello case is follows: commit A : initial empty commit commit B : modified a.txt commit C : modified a.txt commit D : add b.txt

Re: [git-users] How can I get base commit-ID when cherry-pick conflict occurs.

2013-04-17 Thread William Seiti Mizuta
Is commit A a commit or a git init command? In your case, commit A will be the BASE if A is really a commit. William Seiti Mizuta @williammizuta Caelum | Ensino e Inovação www.caelum.com.br On Wed, Apr 17, 2013 at 5:21 AM, seonguk.baek baekseon...@gmail.com wrote: In a normal Git merge

Re: [git-users] git send-pack: protocol error: bad band #50

2013-04-10 Thread William Seiti Mizuta
Are you using http or git protocol? If you are using git, is port 22 opened? William Seiti Mizuta @williammizuta Caelum | Ensino e Inovação www.caelum.com.br On Wed, Apr 10, 2013 at 4:33 PM, João Joyce joyce.wo...@gmail.com wrote: Hi, I am not sure this is the right place to ask. I am

Re: [git-users] Deploying with git

2013-04-08 Thread William Seiti Mizuta
William Seiti Mizuta @williammizuta Caelum | Ensino e Inovação www.caelum.com.br On Mon, Apr 8, 2013 at 1:11 PM, caly...@mycookit.com wrote: I've seen many threads and blog posts about my problem but none of them solved my problem, so I'll ask here if anyone has encountered the same problem

Re: [git-users] yum install git fails on Centos 6.2

2013-03-26 Thread William Seiti Mizuta
. I recommend you to uninstall the packages and install only git. William Seiti Mizuta @williammizuta Caelum | Ensino e Inovação www.caelum.com.br -- You received this message because you are subscribed to the Google Groups Git for human beings group. To unsubscribe from this group and stop

Re: [git-users] yum install git fails on Centos 6.2

2013-03-26 Thread William Seiti Mizuta
is. It seems that git package uses version 1.2.0 of libz. However, he has version 1.2.7. So, if you want to install git, you will need to downgrade libz version to maintain compatibility or install a new version of git from another repository. William Seiti Mizuta @williammizuta Caelum | Ensino e

Re: [git-users] How to edit commit messages

2013-03-24 Thread William Seiti Mizuta
Hi Surya, I don't recommend you to change the commit message if you have already sent the commits to the remote repository. However, if you haven't, you can use the commands that Lei wrote to change the commit messages. William Seiti Mizuta @williammizuta Caelum | Ensino e Inovação

Re: [git-users] Did I loose my repository?

2013-03-24 Thread William Seiti Mizuta
Can you run git fsck --full? What is the result? And can you tell us a little more about how have you gotten in this state? William Seiti Mizuta @williammizuta Caelum | Ensino e Inovação www.caelum.com.br On Sun, Mar 24, 2013 at 8:14 PM, Tom Avey toma...@fgbc.org wrote: I'm not sure what I

Re: [git-users] How to prevent git repo to get big file history back

2013-03-20 Thread William Seiti Mizuta
How did you remove the big file's history? William Seiti Mizuta @williammizuta Caelum | Ensino e Inovação www.caelum.com.br On Wed, Mar 20, 2013 at 2:34 PM, Ashutosh Kumar ashu.gu2...@gmail.comwrote: Hi, I am working on removing big file from my git repo and its history as well. But i am

Re: [git-users] Reset working file, but leave index alone

2013-03-14 Thread William Seiti Mizuta
/opt_out. You can also use git reset file. It will change a file from index state to modified or untracked state. William Seiti Mizuta @williammizuta Caelum | Ensino e Inovação www.caelum.com.br -- You received this message because you are subscribed to the Google Groups Git for human beings

Re: [git-users] Re: file locking

2013-03-13 Thread William Seiti Mizuta
. William Seiti Mizuta @williammizuta Caelum | Ensino e Inovação www.caelum.com.br -- You received this message because you are subscribed to the Google Groups Git for human beings group. To unsubscribe from this group and stop receiving emails from it, send an email to git-users+unsubscr

Re: [git-users] To know the string in which branch

2013-02-21 Thread William Seiti Mizuta
You can use git grep string branch to check if the string exists in the branch. William Seiti Mizuta @williammizuta Caelum | Ensino e Inovação www.caelum.com.br On Thu, Feb 21, 2013 at 4:35 AM, lei yang yanglei.f...@gmail.com wrote: Hi expert, Is there a git command to know string foo

Re: [git-users] Work with two repositories

2013-02-08 Thread William Seiti Mizuta
, this will be named origin, So you only need to add the other remote repository. William Seiti Mizuta @williammizuta Caelum | Ensino e Inovação www.caelum.com.br On Fri, Feb 8, 2013 at 7:53 PM, adam.to...@gmail.com wrote: Hi, I am new to Git. I want to be able to work with my main repository that has

Re: [git-users] when or which commit delete this file

2013-01-31 Thread William Seiti Mizuta
I don't know if there is a better way to do it, but I use git whatchanged to list the files modified in each commit. Then I search for the file I am looking for. William Seiti Mizuta @williammizuta Desenvolvedor da Caelum On Fri, Feb 1, 2013 at 12:56 AM, lei yang yanglei.f...@gmail.com wrote

Re: [git-users] when or which commit delete this file

2013-01-31 Thread William Seiti Mizuta
After a little research, I found that you can use 'git whatchanged -- file-with-path' to look all commits that modified a file, including deleting it. William Seiti Mizuta @williammizuta Desenvolvedor da Caelum On Fri, Feb 1, 2013 at 2:02 AM, William Seiti Mizuta william.miz...@gmail.com

Re: [git-users] How to apply a commit present inthe history on the HEAD

2013-01-17 Thread William Seiti Mizuta
. William Seiti Mizuta @williammizuta Desenvolvedor da Caelum On Thu, Jan 17, 2013 at 5:36 PM, python.pro...@gmail.com wrote: Hi, 1. I am trying to apply a commit which was done a while back on the HEAD. git log --oneline shows the following and lets say I want to apply the commit 2618b13

Re: [git-users] git grief

2013-01-15 Thread William Seiti Mizuta
Try to do a git fetch and post the result of the commands git status and git diff --stat master origin/master William Seiti Mizuta @williammizuta Desenvolvedor da Caelum On Tue, Jan 15, 2013 at 10:07 PM, JavaSrvcs jvsr...@gmail.com wrote: I have not changed any code and just tried to do