Guest User

Untitled

a guest
Mar 10th, 2018
250
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.72 KB | None | 0 0
  1. [zmack@cartofior projects]$ git clone git@github.com:zmack/randomista.git
  2. Initialized empty Git repository in /Users/zmack/projects/randomista/.git/
  3. remote: Counting objects: 66, done.
  4. remote: Compressing objects: 100% (47/47), done.
  5. remote: Total 66 (delta 12), reused 59 (delta 10)
  6. Receiving objects: 100% (66/66), 79.22 KiB | 57 KiB/s, done.
  7. Resolving deltas: 100% (12/12), done.
  8. [zmack@cartofior projects]$ cd randomista/
  9. [zmack@cartofior randomista (master)]$ git branch cal --track origin/foo
  10. Branch cal set up to track remote branch foo from origin.
  11. [zmack@cartofior randomista (master)]$ gco cal
  12. Switched to branch 'cal'
  13. [zmack@cartofior randomista (cal)]$ gst
  14. # On branch cal
  15. nothing to commit (working directory clean)
  16. [zmack@cartofior randomista (cal)]$ git log
  17. commit ddc3a1c46b971802d8fd7214478e8a40ed8852ad
  18. Author: Andrei Bocan <zmaxor@gmail.com>
  19. Date: Fri Jul 31 14:34:49 2009 +0300
  20.  
  21. Oh my, foo !
  22.  
  23. commit 66a162f59a8f57ddb3afd0fe3d9d6b2aadb53672
  24. Author: Andrei Bocan <zmaxor@gmail.com>
  25. Date: Fri Jul 31 14:24:50 2009 +0300
  26.  
  27. Added moloz
  28.  
  29. commit 88368bfef58b62dcf5c4fadfc7ca650f9b20e791
  30. Author: Andrei Bocan <zmaxor@gmail.com>
  31. Date: Wed Jun 3 18:59:59 2009 +0300
  32.  
  33. Initial commit
  34. [zmack@cartofior randomista (cal)]$ gco master
  35. Switched to branch 'master'
  36. [zmack@cartofior randomista (master)]$ git merge cal
  37. Updating 66a162f..ddc3a1c
  38. Fast forward
  39. foo | 2 +-
  40. 1 files changed, 1 insertions(+), 1 deletions(-)
  41. [zmack@cartofior randomista (master)]$ gst
  42. # On branch master
  43. # Your branch is ahead of 'origin/master' by 1 commit.
  44. #
  45. nothing to commit (working directory clean)
  46. [zmack@cartofior randomista (master)]$ git push
  47. Total 0 (delta 0), reused 0 (delta 0)
  48. To git@github.com:zmack/randomista.git
  49. 66a162f..ddc3a1c HEAD -> master
Add Comment
Please, Sign In to add comment