Skip to content

Instantly share code, notes, and snippets.

@tehfink
Created January 19, 2010 04:38
Show Gist options
  • Save tehfink/280673 to your computer and use it in GitHub Desktop.
Save tehfink/280673 to your computer and use it in GitHub Desktop.
jocund:Desktop tehfink$ mkdir test
jocund:Desktop tehfink$ cd test/
jocund:test tehfink$ git clone git://github.com/django-extensions/django-extensions.git
Initialized empty Git repository in /Users/tehfink/Desktop/test/django-extensions/.git/
remote: Counting objects: 1763, done.
remote: Compressing objects: 100% (770/770), done.
remote: Total 1763 (delta 1030), reused 1626 (delta 924)
Receiving objects: 100% (1763/1763), 329.64 KiB | 163 KiB/s, done.
Resolving deltas: 100% (1030/1030), done.
jocund:test tehfink$ cd django-extensions/
jocund:django-extensions tehfink$ ls
LICENSE django_extensions setup.py
MANIFEST.in docs
jocund:django-extensions tehfink$ git remote add tehfink git@github.com:tehfink/django-extensions.git
jocund:django-extensions tehfink$ git pull
Already up-to-date.
jocund:django-extensions tehfink$ git checkout -b tehfink/master
Switched to a new branch 'tehfink/master'
jocund:django-extensions tehfink$ git pull tehfink master
remote: Counting objects: 22, done.
remote: Compressing objects: 100% (12/12), done.
remote: Total 12 (delta 9), reused 0 (delta 0)
Unpacking objects: 100% (12/12), done.
From github.com:tehfink/django-extensions
* branch master -> FETCH_HEAD
Merge made by recursive.
django_extensions/db/models.py | 13 +++++++++++++
1 files changed, 13 insertions(+), 0 deletions(-)
jocund:django-extensions tehfink$ git status
# On branch tehfink/master
nothing to commit (working directory clean)
jocund:django-extensions tehfink$ git checkout master
Switched to branch 'master'
jocund:django-extensions tehfink$ git branch
* master
tehfink/master
jocund:django-extensions tehfink$ git merge tehfink/master
Updating 57e9ce9..966a985
Fast-forward
django_extensions/db/models.py | 13 +++++++++++++
1 files changed, 13 insertions(+), 0 deletions(-)
jocund:django-extensions tehfink$ git status
# On branch master
# Your branch is ahead of 'origin/master' by 4 commits.
#
nothing to commit (working directory clean)
jocund:django-extensions tehfink$ git branch
* master
tehfink/master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment