git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Is there a way to lock branches in GIT?

From
Aask4thunder <ask4thunder@gmail.com>
Date
Apr 23, 2009, 21:43 UTC
Message-ID
<23204641.post@talk.nabble.com>
Hi GIT Gurus,
1. If there are 2 user are working and having their own clone and branches
(not master, other branches). and there is another parent clone with a
branch (not master). Can these 2 users merge to the parent clone branch at
the same time? or only one user will be able to merge first and then the
other. in other words, will the target branch be checkedout to that user
alone and other user cant checkout that branch or use the checked out
branch. 
2. Is there a way to lock branches, so that if a user want to merge his
changes to a parent branch of another clone, it can be unlocked for him
alone? Hope you can help me on this. 

Thanks ask4thunder

-- 
View this message in context: http://www.nabble.com/Is-there-a-way-to-lock-branches-in-GIT--tp23204641p23204641.html
Sent from the git mailing list archive at Nabble.com.
Next: Daniel Barkalow
Message 1 of 2 in “Is there a way to lock branches in GIT?”
  1. ask4thunderApr 23, 2009
  2. Daniel BarkalowApr 24, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.