user3568043
user3568043

Reputation: 143

Git pull, and merged

I've pushed my local changes from branch, and than checkout to master and done pull. Are my local changes now on master, and would it be visible to ohers when they switch to master?

Upvotes: 0

Views: 37

Answers (1)

Makoto
Makoto

Reputation: 106430

  1. If you committed your changed to master, and pushed master, then yes. If you committed your changes to an arbitrary branch and pushed that branch, then no.

  2. Unless your repository has any kind of access control, then they'll be visible to everyone. By default, Git has no such notion of access control, so if you're running Git on some server you had spun up, it'll be open for anyone with access to that server to see.

    Discussions on how to set up security are well outside the scope of your question.

Upvotes: 1

Related Questions