User:QuentinUK/SandBox/Programming

__NOINDEX__

This is OK

git add README git commit -m 'first commit' git remote add origin git@github.com:GitUserID/JavaScriptEgs.git git push -u origin master

https://github.com/GitUserID/JavaScriptEgs/blob/master/test.html

// Create git repository GitUserID:~ quentin$ mkdir GitUserID.github.com GitUserID:~ quentin$ cd GitUserID.github.com GitUserID:GitUserID.github.com quentin$ git init Initialized empty Git repository in /Users/quentin/GitUserID.github.com/.git/ GitUserID:GitUserID.github.com quentin$ ls GitUserID:GitUserID.github.com quentin$ touch README GitUserID:GitUserID.github.com quentin$ git add README GitUserID:GitUserID.github.com quentin$ git commit -m 'first commit' [master (root-commit) 92f0265] first commit 0 files changed, 0 insertions(+), 0 deletions(-) create mode 100644 README GitUserID:GitUserID.github.com quentin$ git remote add origin git@github.com:GitUserID/GitUserID.github.com.git GitUserID:GitUserID.github.com quentin$ git push -u origin master Identity added: /Users/quentin/.ssh/id_rsa (/Users/quentin/.ssh/id_rsa) Counting objects: 3, done. Writing objects: 100% (3/3), 211 bytes, done. Total 3 (delta 0), reused 0 (delta 0) To git@github.com:GitUserID/GitUserID.github.com.git * [new branch]     master -> master Branch master set up to track remote branch master from origin. // Adding a file GitUserID:GitUserID.github.com quentin$ git add userstagsmap.html // Commit all changes to local store GitUserID:GitUserID.github.com quentin$ git commit -m 'Panoramio Map' [master a34c81f] Panoramio Map 1 files changed, 71 insertions(+), 0 deletions(-) create mode 100644 userstagsmap.html // Call commit but already up to date GitUserID:GitUserID.github.com quentin$ git commit -m 'Panoramio Map' # nothing to commit (working directory clean) // Get the status GitUserID:GitUserID.github.com quentin$ git status # nothing to commit (working directory clean) // Get more status GitUserID:GitUserID.github.com quentin$ git remote show origin * remote origin Fetch URL: git@github.com:GitUserID/GitUserID.github.com.git Push URL: git@github.com:GitUserID/GitUserID.github.com.git HEAD branch: master Remote branch: master tracked Local branch configured for 'git pull': master merges with remote master Local ref configured for 'git push': master pushes to master (fast-forwardable) GitUserID:GitUserID.github.com quentin$ // Pushing changes to Web store GitUserID:GitUserID.github.com quentin$ git push Counting objects: 6, done. Delta compression using up to 4 threads. Compressing objects: 100% (5/5), done. Writing objects: 100% (5/5), 1.88 KiB, done. Total 5 (delta 1), reused 0 (delta 0) To git@github.com:GitUserID/GitUserID.github.com.git 92f0265..23e3ac8 master -> master // If Github has been edited directly online then pull any changes before pushing changes git pull
 * 1) On branch master
 * 2) Your branch is ahead of 'origin/master' by 1 commit.
 * 1) On branch master
 * 2) Your branch is ahead of 'origin/master' by 1 commit.

Other languages: Python