local repository creation and publishing to the github.com
Hello,
Below works me;
git init
git add .
git commit -m 'Initialize'
git remote add origin https://github.com/TheMaty/<name of remote repository>
git remote -v
git pull origin master
git rebase origin/master
git push origin master
Below works me;
git init
git add .
git commit -m 'Initialize'
git remote add origin https://github.com/TheMaty/<name of remote repository>
git remote -v
git pull origin master
git rebase origin/master
git push origin master
good luck.
Comments
Post a Comment