Tomas,
How do I push code to master then, do I do got reset - hard on the
master??
Simon
On Jan 8, 2010, at 5:00 PM, Tomas Carnecky <tom@xxxxxxxxxxxxx> wrote:
On 1/8/10 10:28 PM, Simon C wrote:
>
>
> I created master branch in git:
>
> mkdir git_master;
> cd git_master
> git init
> git add .
> git commit
>
> create a clone
> git clone . ../git_clone1
> create newfile
> git add newfile
> git commit .
>
> then try to propagate changes to master
> git push
>
> it gave me some warning, and subsequent git push says everything
is up to
> date.
> but I do not see the new file under git_master
If you asked that question in the official IRC channel, the answer
would be 'faq non-bare', which would cause the bot to send you a
link to this entry in the Git FAQ:
http://git.or.cz/gitwiki/GitFaq#Whywon.27tIseechangesintheremoterepoafter.22gitpush.22.3F
tom
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html