Re: [git-users] Can I use GitHub ?
Hi, Yes, you should be able to integrate Eclipse with Github, using the Git plugin here http://eclipse.github.com I'm not an Eclipse user, so I can't say much more than that, although I do know the Android Studio application also has Github integration built in to it. I downloaded a Github project straight into the Studio just yesterday, and never went near the command line. It's worth noting too that Github and Git are two different things. Git is the source control, and Github is an online service providing access to a source control repository. A bit like how WebSVN provides access to a Subversion repository. Hope this helps. Enjoy! Kyle On 30 Aug 2013 02:58, Varun Prasad Yadav Gunasekaran varunprasa...@gmail.com wrote: Hello All, I am entirely new to Git but I do have exposure with source control systems in the past. Heres the thing : I would like to publish my android project and I heard that Git can be integrated with Eclipse. Is it true ?. Also do note that my OS of development is Ubuntu 13.04. Can I use Git for version controlling in this setup (Ubuntu, Git and Eclipse) ? Thanks for your time -- 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. For more options, visit https://groups.google.com/groups/opt_out. -- 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. For more options, visit https://groups.google.com/groups/opt_out.
Re: [git-users] error during git pull
Instead of doing: git pull remotename remotebranch Try: git fetch remotename remotebranch git checkout remotename/remotebranch git log conflictingfile You will still need to rename the file prior to do this. Hope this helps. HD. -- 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. For more options, visit https://groups.google.com/groups/opt_out.
[git-users] Re: git log takes lot of time
On Friday, August 30, 2013 11:21:05 AM UTC+5:30, Thomas Ferris Nicolaisen wrote: On Thursday, August 29, 2013 6:52:38 PM UTC+2, dexter ietf wrote: this is my git repo size, why does git log takes such huge time and how do i improve the time. real 0m35.603s user0m08.093s sys 0m22.900s $ du -h .git 27K .git/hooks 437K.git/info 3.0K.git/logs/refs/heads 2.0K.git/logs/refs/remotes/origin 2.0K.git/logs/refs/remotes 5.0K.git/logs/refs 9.0K.git/logs 1.0K.git/objects/info 1.4G.git/objects/pack 1.4G.git/objects 0 .git/refs/heads 1.0K.git/refs/remotes/origin 1.0K.git/refs/remotes 0 .git/refs/tags 1.0K.git/refs 1.4G.git Please tell us which version of Git you have and which operating system you are on (it looks *nix'ish, but it could be cygwin, I guess). What kind of partition/filesystem is the repository checked out on? Is it encrypted? Is it a remote/mounted drive? What command are you doing exactly and how do you time it? Usually git log will page the first results into your view, so it starts immediately. Are you measuring the time it takes to output the entire log (like git log --no-pager, if so, why)? i'm running git version 1.7.9.5 in cygwin with no encryption and local drive. i'm using time command to measure the time and i'm not using --no-pager -- 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. For more options, visit https://groups.google.com/groups/opt_out.
[git-users] git branch : strange !
Hi ! I'm learning git and have a strange issue with a simple branch scenario: I created a new local branch dev. So now I have two local branches: master and dev.On master, everything isup to date: nothing to add, nothing to commit. I've checked out the branch dev and made a change in one file. I haven't committed anything yet after this change. A git status tells me: # On branch dev # Changes not staged for commit: # (use git add file... to update what will be committed) # (use git checkout -- file... to discard changes in working directory) # # modified: index.php # no changes added to commit (use git add and/or git commit -a) Now I go back to master (git checkout master), and a git status tell me the following: # On branch master # Changes not staged for commit: # (use git add file... to update what will be committed) # (use git checkout -- file... to discard changes in working directory) # # modified: index.php # no changes added to commit (use git add and/or git commit -a) Why do I have a change to add on master whereas I made this change on my branch dev ? What do you think ? -- 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. For more options, visit https://groups.google.com/groups/opt_out.
Re: [git-users] git branch : strange !
Hello, braches hold only commited changes (actually, they are pointers to one specific commit). Uncommited changes travel between checkouts (well, unless the target branch is in a totally different state, as then you will face even stranger merge issues). So take this advise: never checkout another branch without commiting/reverting your changes! Cheers, Gergely On 30 Aug 2013 17:22, djsuperfive maximefresch...@gmail.com wrote: Hi ! I'm learning git and have a strange issue with a simple branch scenario: I created a new local branch dev. So now I have two local branches: master and dev.On master, everything isup to date: nothing to add, nothing to commit. I've checked out the branch dev and made a change in one file. I haven't committed anything yet after this change. A git status tells me: # On branch dev # Changes not staged for commit: # (use git add file... to update what will be committed) # (use git checkout -- file... to discard changes in working directory) # # modified: index.php # no changes added to commit (use git add and/or git commit -a) Now I go back to master (git checkout master), and a git status tell me the following: # On branch master # Changes not staged for commit: # (use git add file... to update what will be committed) # (use git checkout -- file... to discard changes in working directory) # # modified: index.php # no changes added to commit (use git add and/or git commit -a) Why do I have a change to add on master whereas I made this change on my branch dev ? What do you think ? -- 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. For more options, visit https://groups.google.com/groups/opt_out. -- 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. For more options, visit https://groups.google.com/groups/opt_out.
Re: [git-users] git branch : strange !
Hi, git doesn's save changes in a branch. Only commits are saved in an specific branch. So, if you have a change in a file and change the branch, this change will be at the new branch. If you don't want it, you need to commit or stash the change before changing branch. If changing a branch 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 maximefresch...@gmail.comwrote: Hi ! I'm learning git and have a strange issue with a simple branch scenario: I created a new local branch dev. So now I have two local branches: master and dev.On master, everything isup to date: nothing to add, nothing to commit. I've checked out the branch dev and made a change in one file. I haven't committed anything yet after this change. A git status tells me: # On branch dev # Changes not staged for commit: # (use git add file... to update what will be committed) # (use git checkout -- file... to discard changes in working directory) # # modified: index.php # no changes added to commit (use git add and/or git commit -a) Now I go back to master (git checkout master), and a git status tell me the following: # On branch master # Changes not staged for commit: # (use git add file... to update what will be committed) # (use git checkout -- file... to discard changes in working directory) # # modified: index.php # no changes added to commit (use git add and/or git commit -a) Why do I have a change to add on master whereas I made this change on my branch dev ? What do you think ? -- 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. For more options, visit https://groups.google.com/groups/opt_out. -- 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. For more options, visit https://groups.google.com/groups/opt_out.
Re: [git-users] git branch : strange !
From: djsuperfive maximefresch...@gmail.com Why do I have a change to add on master whereas I made this change on my branch dev ? I think I can explain this more clearly: You changed a file, but since you didn't add or commit it, none of the branches is affected. git-status is just telling you that the file index.php that is in the working directory isn't the same as the one in the index (and the one in the index is the same as the head of the current branch). Now you tell Git to switch to a new branch. Git adjusts the internal data structures, of course, but it also has to adjust all the files in the working directory to match the new branch head. What is it to do with the changed file in the working directory? In general, it leaves it alone, so you don't lose your changes. In specific, if the version of that file is different in the two branches, Git tries to merge the inter-branch changes with the changes you've inserted; it can get messy. As far as I can tell, Git does a similar update process on the index, whose contents may not have been the same as the old branch's head. This leads to a situation you might not expect: Suppose you have branch master checked out. Now change index.php to be the same as the version in the head of branch dev. git-status will show it as being modified. Now check out branch dev. If I have it right, Git will merge the change it sees in the working copy of index.php with the inter-branch change (both of which are the same) to leave a copy of index.php which matches the head of branch dev. git-status will now show index.php as not being modified. Now check out branch master. index.php isn't modified any more! Dale -- 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. For more options, visit https://groups.google.com/groups/opt_out.
Re: [git-users] Can I use GitHub ?
On Friday, August 30, 2013 2:36:30 PM UTC+8, Kyle Gordon wrote: Hi, Yes, you should be able to integrate Eclipse with Github, using the Git plugin here http://eclipse.github.com I am using the latest version of Eclipse CDT Kepler which comes with Git support already built in. It works pretty well, though I still prefer to do the pull and push outside of Eclipse since the SSH passphrase can be cached when using the terminal. -- 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. For more options, visit https://groups.google.com/groups/opt_out.