QGIS versions 1.8.0, 2.0.0, 2.0.1, and 2.4.0
diff file_v1.txt file_v2.txt
> git clone https://github.com/try-git/try_git.git
Cloning into 'try_git'...
warning: You appear to have cloned an empty repository.
Checking connectivity... done.
> cd try_git/
> echo "some work" > my_file.txt
> git add my_file.txt
> git status
On branch master
Initial commit
Changes to be committed:
(use "git rm --cached <file>..." to unstage)
new file: my_file.txt
> git commit -m "I did some work. Wow!"
1 file changed, 1 insertion(+)
create mode 100644 my_file.txt
> git log
commit 9e0e514d7b54e45d2d8667472376d125939a780a
Author: Chris Holden <ceholden@gmail.com>
Date: Sun Oct 5 19:23:53 2014 -0400
I did some work. Wow!
> git push origin master
Because of some network firewall reasons, we cannot pull
or push
using HTTPS.
Instead we have to use SSH:
Github for education (free private repos for students): https://education.github.com/