Created
February 27, 2019 06:21
-
-
Save mahipalsingh7/945acb41476a53046fa70d730bd5bdc8 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 GITLAB | |
example url - [email protected]:xxxx/xxxx.git | |
—Terminal | |
Step 1. Change directory to main project folder | |
step 2. git init | |
step 3. git remote set “url” - - add origin | |
[email protected]:xxxx/xxxx.git | |
step 4. git remote add origin [email protected]:xxxx/xxxx.git | |
step 5. git add . | |
step 6. git commit -m "inital commit" | |
step 7. git remote -v | |
step 8. git checkout ios. //checkout branch | |
step 9. git branch //current branch | |
step 10. git checkout -b ios //Switched to branch | |
step 11. git status | |
step 12. git push [email protected]:xxxx/xxxx.git ios. // push code |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment