Created
February 27, 2019 06:19
-
-
Save mahipalsingh7/8c6457326b4cfc8221597dabfa6eb0c1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PUsh Code On Github | |
example url - [email protected]:xxxxdev/projectname.git | |
—Terminal | |
step 1. Change directory to main project folder | |
step 2. git init | |
step 3. git add . | |
step 4. git commit -m "inital commit" | |
step 5. git remote add origin [email protected]:xxxxdev/projectname.git | |
step 6. git remote -v | |
step 7. git checkout ios. //checkout branch | |
step 8. git branch //current branch | |
step 9. git checkout -b ios //Switched to branch | |
step 10. git status | |
step 11. git push [email protected]:xxxxdev/projectname.git ios // push code |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment