Just to make things a little clear here...
git add, rm - stage changes to be comitted
git commit - save the staged changes into the local repo
git push - send commits to a remote repo
git fetch - grab commits from a remote repo (doesn't change work copy)
git merge - merge a branch (local or a remote-tracking branch from fetch)
into the current branch. May have conflicts you must resolve and commit to
complete the merge.
git pull - fetch a remote branch and merge it. May have conflicts.
Of course, for remote commands to work you need a remote repo set. `git
clone` will set a default remote, "origin", that points to the repo you
cloned from.
Tekkub
Github Tech Support
http://support.github.com/
Join us on IRC: #github on freenode.net
Discussion group: [email protected]
On Fri, Jul 24, 2009 at 9:44 PM, Galaxy <[email protected]> wrote:
>
>
>
> On Jul 24, 6:29 pm, Dwight Illk <[email protected]> wrote:
> > I am REALLY new at this, but this is what I was told (and works for me.)
> >
> > GitHub Refresh and Commit and Commands
> >
> > To refresh your local repository:
> >
> > git pull (All
> > local files are updated to what is currently in the remote repository)
> >
>
> That results:
> fatal: not a git repository (or any of the parent directories): .git
>
> -G*
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"GitHub" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/github?hl=en
-~----------~----~----~----~------~----~------~--~---