Answers for "git initial push"

3

git initial push

# On server:
mkdir my_project.git
cd my_project.git
git --bare init
# On client:
mkdir my_project
cd my_project
touch .gitignore
git init
git add .
git commit -m "Initial commit"
git remote add origin [email protected]:/path/to/my_project.git
git push origin master
Posted by: Guest on September-18-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language