34 lines
543 B
Plaintext
34 lines
543 B
Plaintext
git init
|
|
|
|
git add *files*
|
|
|
|
git commit -m "COMMENT"
|
|
|
|
git remote add origin https://github.com/ICYN/*REPO*
|
|
|
|
git push origin master
|
|
|
|
----BITBUCKET-----
|
|
|
|
git init
|
|
git add *files*
|
|
git commit -m "COMMENT"
|
|
git remote add origin https://bitbucket.org/DanDembinski/*REPO*
|
|
git push origin master
|
|
|
|
--Fix URL--
|
|
|
|
git remote origin **Correct URL**
|
|
|
|
--different remote sort of--
|
|
git remote add **short name** *url**
|
|
git **short name** push/pull
|
|
|
|
--change remote url
|
|
git remote set-url
|
|
|
|
--check remote url
|
|
git remote -v
|
|
|
|
--check remote branhces
|
|
git branch -r |