Skip to content

Instantly share code, notes, and snippets.

@Tarrasch
Created May 6, 2015 15:25
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save Tarrasch/830e0a22ee4af120fc86 to your computer and use it in GitHub Desktop.
~/spotify/repos/gcp-migrate various-improvements
❯ git remote -v
origin git@ghe.spotify.net:arash/gcp-migrate.git (fetch)
origin git@ghe.spotify.net:arash/gcp-migrate.git (push)
upstream https://ghe.spotify.net/datainfra/gcp-migrate.git (fetch)
upstream https://ghe.spotify.net/datainfra/gcp-migrate.git (push)
~/spotify/repos/gcp-migrate various-improvements
❯ git fetch --all
Fetching origin
Fetching upstream
remote: Counting objects: 7, done.
remote: Compressing objects: 100% (6/6), done.
remote: Total 7 (delta 2), reused 0 (delta 0)
Unpacking objects: 100% (7/7), done.
From https://ghe.spotify.net/datainfra/gcp-migrate
* [new branch] master -> upstream/master
~/spotify/repos/gcp-migrate various-improvements
❯ git checkout -b my-feature upstream/master
Branch my-feature set up to track remote branch master from upstream by rebasing.
Switched to a new branch 'my-feature'
~/spotify/repos/gcp-migrate my-feature
❯ git push origin my-feature
Counting objects: 26, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (15/15), done.
Writing objects: 100% (19/19), 1.93 KiB | 0 bytes/s, done.
Total 19 (delta 6), reused 0 (delta 0)
To git@ghe.spotify.net:arash/gcp-migrate.git
* [new branch] my-feature -> my-feature
~/spotify/repos/gcp-migrate my-feature
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment