M
M
mutaev_murad2016-03-20 19:16:36
git
mutaev_murad, 2016-03-20 19:16:36

Question about repository?

Hello! good evening, I have two repositories, and I don’t know how to switch between them, so let’s say there are two turnips, reposit and myreposit , so let’s say today I go into the project of the second turnip and how do I know the commands that I execute in gitbush which turnip it is, I I work I change files I commit and there are no commits in any turnip
git init
git add .
git commit -a -m 'first commit'
git remote add origin [email protected]:username/reponame.git
git push -u origin master

using these commands still nothing!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Valmih, 2016-03-20
@Valmih

I think you are confusing the repository with branches. Visit this site, everything will become clear!

M
mutaev_murad, 2016-03-22
@mutaev_murad

Well, I don’t know what I’m confusing there, in short, I solved this problem, I write this problem git push -u origin master I write the login and password after git add authorizations. then I commit and all my commits appear on the github until that is enough for me at this level.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question