Skip to content

Instantly share code, notes, and snippets.

@felipe-prenholato
Created March 23, 2012 00:08
Show Gist options
  • Save felipe-prenholato/2165697 to your computer and use it in GitHub Desktop.
Save felipe-prenholato/2165697 to your computer and use it in GitHub Desktop.
felipe@felipe-G51JX:~/projects/github_projects_2/clones/python-amazon-mws$ git checkout -b dev -t origin/dev
Branch dev set up to track remote branch dev from origin.
Switched to a new branch 'dev'
felipe@felipe-G51JX:~/projects/github_projects_2/clones/python-amazon-mws$ git st
# On branch dev
nothing to commit (working directory clean)
felipe@felipe-G51JX:~/projects/github_projects_2/clones/python-amazon-mws$ touch test
felipe@felipe-G51JX:~/projects/github_projects_2/clones/python-amazon-mws$ git add test
felipe@felipe-G51JX:~/projects/github_projects_2/clones/python-amazon-mws$ git commit -am "Test"
[dev 394a847] Test
0 files changed, 0 insertions(+), 0 deletions(-)
create mode 100644 test
felipe@felipe-G51JX:~/projects/github_projects_2/clones/python-amazon-mws$ git push
Counting objects: 4, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (2/2), done.
Writing objects: 100% (3/3), 268 bytes, done.
Total 3 (delta 1), reused 1 (delta 0)
To [email protected]:czpython/python-amazon-mws.git
fd7c830..394a847 dev -> dev
felipe@felipe-G51JX:~/projects/github_projects_2/clones/python-amazon-mws$
felipe@felipe-G51JX:~/projects/github_projects_2/clones/python-amazon-mws$
felipe@felipe-G51JX:~/projects/github_projects_2/clones/python-amazon-mws$ git branch -avv
* dev 394a847 [origin/dev] Test
master fd7c830 [origin/master] Fixed typo
remotes/origin/HEAD -> origin/master
remotes/origin/dev 394a847 Test
remotes/origin/master fd7c830 Fixed typo
felipe@felipe-G51JX:~/projects/github_projects_2/clones/python-amazon-mws$ git checkout master
Switched to branch 'master'
felipe@felipe-G51JX:~/projects/github_projects_2/clones/python-amazon-mws$ git pull
Already up-to-date.
felipe@felipe-G51JX:~/projects/github_projects_2/clones/python-amazon-mws$ git branch -avvv
dev 394a847 [origin/dev] Test
* master fd7c830 [origin/master] Fixed typo
remotes/origin/HEAD -> origin/master
remotes/origin/dev 394a847 Test
remotes/origin/master fd7c830 Fixed typo
felipe@felipe-G51JX:~/projects/github_projects_2/clones/python-amazon-mws$ ls
LICENSE mws README.md setup.py
felipe@felipe-G51JX:~/projects/github_projects_2/clones/python-amazon-mws$ git branch -avvv
* master fd7c830 [origin/master] Fixed typo
remotes/origin/HEAD -> origin/master
remotes/origin/dev 394a847 Test
remotes/origin/master fd7c830 Fixed typo
felipe@felipe-G51JX:~/projects/github_projects_2/clones/python-amazon-mws$ git branch dev
felipe@felipe-G51JX:~/projects/github_projects_2/clones/python-amazon-mws$ git checkout dev
Switched to branch 'dev'
felipe@felipe-G51JX:~/projects/github_projects_2/clones/python-amazon-mws$ git branch -avv
* dev fd7c830 Fixed typo
master fd7c830 [origin/master] Fixed typo
remotes/origin/HEAD -> origin/master
remotes/origin/dev 394a847 Test
remotes/origin/master fd7c830 Fixed typo
felipe@felipe-G51JX:~/projects/github_projects_2/clones/python-amazon-mws$ git branch -t origin/dev dev
Branch origin/dev set up to track local branch dev.
felipe@felipe-G51JX:~/projects/github_projects_2/clones/python-amazon-mws$ git branch -avv
* dev fd7c830 Fixed typo
master fd7c830 [origin/master] Fixed typo
origin/dev fd7c830 [dev] Fixed typo
remotes/origin/HEAD -> origin/master
remotes/origin/dev 394a847 Test
remotes/origin/master fd7c830 Fixed typo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment