[git-users] Re: Unstaged Changes with Brand New Repository
On Thursday, August 7, 2014 7:31:51 PM UTC+2, Ben Ruppel wrote: Hi, I'm very new to git. I just created a new repository in a directory with existing code with Git Gui 1.9.4 in windows. All of the files that were in the directory appear to be listed in Unstaged Changes in the upper left. I'm not sure how to proceed. Should I commit them? I did set git up to use Windows end of line for checkouts and then to check back in with Unix style end of line, which is desired as this code is eventually heading out to a linux system. Can anyone explain what is going on with the files in the unstaged changes box? This is normal. Git is just telling you that there are a bunch of files in the current directory that haven't been added to the Git repository yet. You would see the same unstaged changes if you run `git status` on the command line. After initializing a repository, you have to explicitly tell Git which files are to be version controlled. Doing so is a two-phase operation. You first stage, or add, which files you want to track, and then you commit the first revision, typically with a commit message like Initial commit. Example: git add src (adds everything in the directory src/) git add README (adds the single file) git add :/ (adds absolutely everything) Then: git commit -m Initial commit -- 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/d/optout.
[git-users] Re: repo init not working in GIT BASH
On Thursday, August 7, 2014 2:54:49 PM UTC+2, scmmanage wrote: I have installed GIT GUI and then in GIT BASH tried to install repo. When I try to do repo init I am getting errors. Please let me know if anyone used repo commands in git bash if so let me know how to install. I installed repo and found that python was not there in GIT BASH. Then downloaded Python for windows and installed. Set the env path to bashrc. $ repo init sh.exe: /c/Users/vikram.sadasivam.LGE/bin/repo: /usr/bin/env: bad interpreter: Permission denied Please do ask me if anything I left out. repo has their own mailing list here: http://groups.google.com/group/repo-discuss -- 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/d/optout.
Re: [git-users] repo init at GIT BASH
On Thu, Aug 7, 2014 at 3:00 PM, scmmanage scmman...@gmail.com wrote: $ repo init sh.exe: /c/Users/username/bin/repo: /usr/bin/env: bad interpreter: Permission denied I would love to help you, but I simply can't. Not with only the information above. It's not even a question, so maybe you don't even need help. Maybe you just want to show off something really cool happening on your computer. In short, I can't help you because my mind reading skills are VERY limited. So, would you please provide a bit more information: 1. Which platform are you on? (I'm guessing Windows.) 2. How did you install git? 3. What do shell do you use to run git? 4. In what location are you running the command? /M -- Magnus Therning OpenPGP: 0xAB4DFBA4 email: mag...@therning.org jabber: mag...@therning.org twitter: magthe http://therning.org/magnus -- 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/d/optout.
Re: [git-users] repo init at GIT BASH
On Fri, Aug 8, 2014 at 2:03 PM, Magnus Therning mag...@therning.org wrote: On Thu, Aug 7, 2014 at 3:00 PM, scmmanage scmman...@gmail.com wrote: $ repo init sh.exe: /c/Users/username/bin/repo: /usr/bin/env: bad interpreter: Permission denied I would love to help you, but I simply can't. Not with only the information above. It's not even a question, so maybe you don't even need help. Maybe you just want to show off something really cool happening on your computer. In short, I can't help you because my mind reading skills are VERY limited. So, would you please provide a bit more information: 1. Which platform are you on? (I'm guessing Windows.) 2. How did you install git? 3. What do shell do you use to run git? 4. In what location are you running the command? I just noticed you did send another email, with a bit more information, and got a reply as well. Good! /M -- Magnus Therning OpenPGP: 0xAB4DFBA4 email: mag...@therning.org jabber: mag...@therning.org twitter: magthe http://therning.org/magnus -- 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/d/optout.
Re: [git-users] repo init not working in GIT BASH
From: scmmanage scmman...@gmail.com $ repo init sh.exe: /c/Users/vikram.sadasivam.LGE/bin/repo: /usr/bin/env: bad interpreter: Permission denied Please do ask me if anything I left out. It has something to do with an executable file that is organized as an interpreter script (an intro at http://en.wikipedia.org/wiki/Pound_bang) which specifies /usr/bin/env as the interpreter. /usr/bin/env (on your system) is either not present, or you are for some reason not allowed to execute it as a program. If I read the message correctly, /c/Users/vikram.sadasivam.LGE/bin/repo (which is probably the same as C:\Users\vikram.sadasivam.LGE\bin\repo) is the executable file in question. My guess is that /usr/bin/env on your system does not designate an installed file. I don't know what you need to do to obtain that file. Do you know that repo can be installed and run on Windows? 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/d/optout.