[git-users] Re: Adding plugins from specific revision Github project to the Cordova project

2014-08-07 Thread Thomas Ferris Nicolaisen
On Wednesday, August 6, 2014 2:17:54 PM UTC+2, Surinaidu Majji wrote:



 On Wednesday, August 6, 2014 5:36:17 PM UTC+5:30, Thomas Ferris Nicolaisen 
 wrote:

 On Wednesday, August 6, 2014 8:01:36 AM UTC+2, Surinaidu Majji wrote:

 I have setup the android project using cordova command-line-interface 
 with the help of node.js. I have added the required plugin from Github to 
 our project by the following command:

 C:Users/Admin/cordova plugin add 
 https://github.com/phonegap-build/PushPlugin.git

 For now it is working fine, but what if they suddenly changes the 
 plugin.So I want to stick with the specific revision of plugin. So how can 
 i get the plugin which is specific to particular revision. Shall i add the 
 revision number or commit number to the above url?


 I think you'd better ask in some Cordova forum. I have no idea what the 
 above command does.


Yes you are right, but how do we  get the code which is specific to 
 particular revision, from git repository. 


If you just want to check out the code from a certain revision for quick 
inspection, use checkout:

git checkout commit

In the long run, you'd probably mark it with a tag:

git tag tag-name commit
git checkout tag-name

 

-- 
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] repo init not working in GIT BASH

2014-08-07 Thread scmmanage
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.

-- 
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] repo init at GIT BASH

2014-08-07 Thread scmmanage


$ repo init sh.exe: /c/Users/username/bin/repo: /usr/bin/env: bad 
interpreter: Permission denied

-- 
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] Unstaged Changes with Brand New Repository

2014-08-07 Thread Ben Ruppel
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?
Thank you!

-- 
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] Unstaged Changes with Brand New Repository

2014-08-07 Thread Gergely Polonkai
Hello,

if I understand well, you just issued `git init` through the GUI. Note that
git init doesn't add/commit any of your files, just creates an empty
repository. You may check it with `git log` (maybe it is called History in
the GUI, but I might confuse it with SVN). You should add and commit your
files now.

Best,
Gergely
On 7 Aug 2014 23:33, Ben Ruppel ben.rup...@gmail.com 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?
 Thank you!

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


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