rodrigosantosbr

[git] Create a new repository

Jul 27th, 2019
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!

- Git global setup

git config --global user.name "My Name"
git config --global user.email "[email protected]"

- Create a new repository

git clone <project_git_url>
cd <project_folder>
touch README.md
git add README.md
git commit -m "add README"
git push -u origin master
Add Comment
Please, Sign In to add comment