Basics Flashcards

1
Q

Type out the command to connect your github repo to your repo as a remote server.

A

git remote add github git@github.com:usernamae/reponame

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Type out the command to push the master branch your repo to a remote repo when your current branch does not exist on the remote repo yet.

A

git push -u github master

How well did you know this?
1
Not at all
2
3
4
5
Perfectly