Re: How to pull remote branch with specified commit id?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Johannes Sixt
Date: Tuesday, January 13, 2009 - 2:43 am

Emily Ren schrieb:

You can't, and that is so by design.

Consider this: You accidentally push a branch with confidential data to a
public repository. You notice it early, and quickly delete the branch
using 'git push the-repo :refs/heads/that-branch'. At this time the
objects with the confidential data are still lingering in the public
repository. But with the current behavior noone can access them even if
the SHA1 happens to be known.

-- Hannes
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
How to pull remote branch with specified commit id?, Emily Ren, (Tue Jan 13, 2:08 am)
Re: How to pull remote branch with specified commit id?, Andreas Ericsson, (Tue Jan 13, 2:16 am)
Re: How to pull remote branch with specified commit id?, Johannes Sixt, (Tue Jan 13, 2:43 am)
Re: How to pull remote branch with specified commit id?, Johannes Sixt, (Wed Jan 14, 12:01 am)
Re: How to pull remote branch with specified commit id?, Johannes Sixt, (Wed Jan 14, 12:02 am)