Created
January 21, 2020 13:53
-
-
Save bipon68/c2378641277ed07c8cb0b56134a7cd27 to your computer and use it in GitHub Desktop.
Git new project creation
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 | |
it config --global user.name "Bipon Biswas" | |
git config --global user.email "bipon770@gmail.com" | |
#Create a new repository | |
git clone git@gitlab.com:alem-project/the-vault-admin-crm.git | |
cd the-vault-admin-crm | |
touch README.md | |
git add README.md | |
git commit -m "add README" | |
git push -u origin master | |
#Existing folder | |
cd existing_folder | |
git init | |
git remote add origin git@gitlab.com:alem-project/the-vault-admin-crm.git | |
git add . | |
git commit -m "Initial commit" | |
git push -u origin master | |
#Existing Git repository | |
cd existing_repo | |
git remote rename origin old-origin | |
git remote add origin git@gitlab.com:alem-project/the-vault-admin-crm.git | |
git push -u origin --all | |
git push -u origin --tags |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment