Created
November 24, 2017 05:26
-
-
Save milaptank/778c4fe36ef994bd646ac34be6f4392e to your computer and use it in GitHub Desktop.
GIT add new repo command
This file contains 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
Command line instructions | |
Git global setup | |
git config --global user.name "Milap Tank" | |
git config --global user.email "android@webmobtech.com" | |
Create a new repository | |
git clone https://gitlab.com/WebMobTechnologies/TCC_2016_Android.git | |
cd TCC_2016_Android | |
touch README.md | |
git add README.md | |
git commit -m "add README" | |
git push -u origin master | |
Existing folder or Git repository | |
cd existing_folder | |
git init | |
git remote add origin https://gitlab.com/WebMobTechnologies/TCC_2016_Android.git | |
git add . | |
git commit | |
git push -u origin master | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment