Hermes – git backup

You are here:Home-Resources-Hermes-Hermes – git backup
Hermes – git backup 2018-04-16T15:04:32+00:00
Set basic git config
git config --global "Teo Cheng Lim"
git config --global ""
Get basic git config
git config --global
git config --global
I have an existing project with git and I want to push to remote repository
Step 1: Switch to your repository's directory
Step 2: Connect your existing repository to Bitbucket
git remote add origin
git push -u origin master
I have an existing remote git project, I want to continue working on it
git clone
cd projectfolder
echo "# My project's README" >>
git add
git commit -m "Initial commit"
git push -u origin master