you CAN push a single file:
# git add [the file]
# git commit -m'Your message'
# git push
This will commit and push a single file.
El 03/12/2012, a las 08:02, ARSHAD ALI escribió:
> Thank u sir, its mean i cannot push a single file after "commit" but whole
> working directory will be push to
Thank u sir, its mean i cannot push a single file after "commit" but whole
working directory will be push to bare repository. I mean GIT works with
directories not with single files in terms of push, pull, clone etc."AM I
RIGHT SIR"???
On Monday, December 3, 2012 11:50:09 AM UTC+5, Thomas F
On Monday, December 3, 2012 7:43:38 AM UTC+1, ARSHAD ALI wrote:
>
> Can I push a single file to main repository or does GIT works with sing
> files. please help me
>
The quick answer is no, Git pushes happen on a *commit* basis. But if you
make and push commits that only include changes in a s
On Saturday, December 1, 2012 11:49:40 PM UTC+1, munene kiruja wrote:
> Git already came in with the cygwin install. So I thought I could just
> start using it. After 2 days of reading and searching, not even one step
> ahead. Anyone help. What am I doing wrong?
>
>
You're not doing anything wro
Can I push a single file to main repository or does GIT works with sing
files. please help me
--
Sorry. I need to stop posting from my tablet. I didn't see ur entire
message. I don't know what ur real error, shown later, is. The message
seems familiar trom other posts here about Cygwin and git. U might review
some via the web interface.
On Sunday, December 2, 2012 9:14:15 AM UTC-6, John Mc
Ur fine. You need to do something first. What I do is:
echo x>x
git add x
git commit -m 'init dir'
git rm x
git commit -m 'remove file x'
You can then look at the log.
On Dec 1, 2012 4:49 PM, "munene kiruja" wrote:
> Git already came in with the cygwin install. So I thought I could just
> start