Hi
I am unsure over the basic git commands I should use for the following
simple scenario:

I want to work on a repo from either of 2 PCs. I have no branching (at
the moment). There are no other collaborators and probably never will
be

At the moment I have same username / email configured on both PCs but
different SSH keys. I have 1 repo that I keep on Github

I would like to know what are the basic commands I should use so that
I can the basic development:

git pull   ???                                               # get
latest from github at beginning of session
edit code...
git status                                                    # to see
what local changes I have made
git add *   (or git add <files>)                  # to stage changes
git commit -m “message”                       # to commit changes to
my local repository
edit more code and repeat above...
git push ???                                              # to update
github at end of session

As you can see I am not sure exactly how to push and pull. Or should I
be doing something else? Could someone complete the above

Also - are the 2 PCs symmetric since I have the *same* user/email on
both PCs?ie I should use the same commands on both.

And continuing, if I had *different* user/emails, would the PC that
created the repo on github be owner and the other user(s) would not be
owner. How would the above commands differ for a non owner.

Peter

 or the commands different with one PC being some kind of master. Or
is it the username/email that is is significant

-- 
You received this message because you are subscribed to the Google Groups 
"GitHub" group.
To post to this group, send email to git...@googlegroups.com.
To unsubscribe from this group, send email to 
github+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/github?hl=en.

Reply via email to