You are on page 1of 2

r: Your local changes to the following files would be overwritten by checkout: ca_security/dylib/ca_security/ca_security.h ca_security/dylib/ca_security/ca_security.

m Please, commit your changes or stash them before you can switch branches. Aborting root1:Mercury catechnologies$ cd /Users/catechnologies/Documents/Mercury_mar8 root1:Mercury_mar8 catechnologies$ ls root1:Mercury_mar8 catechnologies$ git clone https://github.com/catech/Mercury.g it Cloning into 'Mercury'... Username for 'https://github.com': Password for 'https://github.com': fatal: Authentication failed root1:Mercury_mar8 catechnologies$ git clone https://github.com/catech/Mercury.g it Cloning into 'Mercury'... Username for 'https://github.com': sambhav786 Password for 'https://sambhav786@github.com': remote: Counting objects: 2452, done. remote: Compressing objects: 100% (1277/1277), done. remote: Total 2452 (delta 1108), reused 2371 (delta 1027) Receiving objects: 100% (2452/2452), 3.33 MiB | 632 KiB/s, done. Resolving deltas: 100% (1108/1108), done. root1:Mercury_mar8 catechnologies$ git checkout remotes/origin/changes_securityd ylib fatal: Not a git repository (or any of the parent directories): .git root1:Mercury_mar8 catechnologies$ cd Mercury/ root1:Mercury catechnologies$ git checkout remotes/origin/changes_securitydylib Note: checking out 'remotes/origin/changes_securitydylib'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by performing another checkout. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -b with the checkout command again. Example: git checkout -b new_branch_name HEAD is now at b63c0eb... Testing push credentials. root1:Mercury catechnologies$ git branch * (no branch) master root1:Mercury catechnologies$ git branch -a * (no branch) master remotes/origin/HEAD -> origin/master remotes/origin/changes_securitydylib remotes/origin/master root1:Mercury catechnologies$ git branch changed_securitydylib root1:Mercury catechnologies$ git branch -a * (no branch) changed_securitydylib master remotes/origin/HEAD -> origin/master remotes/origin/changes_securitydylib remotes/origin/master root1:Mercury catechnologies$ git checkout changed_securitydylib Switched to branch 'changed_securitydylib'

root1:Mercury catechnologies$ git branch -a * changed_securitydylib master remotes/origin/HEAD -> origin/master remotes/origin/changes_securitydylib remotes/origin/master root1:Mercury catechnologies$ git branch * changed_securitydylib master root1:Mercury catechnologies$ git checkout master Switched to branch 'master' root1:Mercury catechnologies$ ls README.md code_sign wrapper ca_security iOSapp wrapper_testharness cloud-server sample-ios-proj root1:Mercury catechnologies$ git branch changed_securitydylib * master root1:Mercury catechnologies$ git checkout -b changed_secdylib Switched to a new branch 'changed_secdylib' root1:Mercury catechnologies$ git branch * changed_secdylib changed_securitydylib master root1:Mercury catechnologies$ git push Username for 'https://github.com': sambhav786 Password for 'https://sambhav786@github.com': Everything up-to-date root1:Mercury catechnologies$ git push -u origin changed_secdylib Username for 'https://github.com': sambhav786 Password for 'https://sambhav786@github.com': Total 0 (delta 0), reused 0 (delta 0) To https://github.com/catech/Mercury.git * [new branch] changed_secdylib -> changed_secdylib Branch changed_secdylib set up to track remote branch changed_secdylib from orig in. root1:Mercury catechnologies$ ls README.md code_sign wrapper ca_security iOSapp wrapper_testharness cloud-server sample-ios-proj root1:Mercury catechnologies$ open . root1:Mercury catechnologies$ git commit -am "test" [changed_secdylib 501fe69] test 3 files changed, 1 insertion(+), 1 deletion(-) root1:Mercury catechnologies$ git push Username for 'https://github.com': sambhav786 Password for 'https://sambhav786@github.com': Counting objects: 14, done. Delta compression using up to 4 threads. Compressing objects: 100% (8/8), done. Writing objects: 100% (8/8), 1.20 KiB, done. Total 8 (delta 4), reused 0 (delta 0) To https://github.com/catech/Mercury.git 1bc1eb1..501fe69 changed_secdylib -> changed_secdylib root1:Mercury catechnologies$

You might also like