Lajos Nektár
Lajos Nektár

Reputation: 3

What happens with commits if a member, the author of some commit leave git project?

If a member who has commits in a git project quit from the project, will his commits remain in the repo, or those commits will removed when he leave?

By the way, is there any way to change the author(i mean assign(hand over) to another member) of his commits before he's leaving?

Upvotes: 0

Views: 129

Answers (1)

Maroun
Maroun

Reputation: 95958

If a member who has commits in a git project quit from the project, will his commits remain in the repo, or those commits will removed when he leave?

Will remain. It's not accurate to say "quit" a Git project, as stated in the comments, Git doesn't care about members.

By the way, is there any way to change the author(i mean assign(hand over) to another member) of his commits before he's leaving?

You need to re-write all the history of the project.

Upvotes: 1

Related Questions