Re: [RFC/GSoC] Introduction
- From
Sidhant Sharma <tigerkid001@gmail.com>
- Date
- Mar 14, 2016, 05:25 UTC
- Message-ID
- <56E64B5C.7030405@gmail.com>
- In-Reply-To
- <20160313211910.GA22052@ikke.info>
On Monday 14 March 2016 02:49 AM, Kevin Daudt wrote:
Show 15 quoted lines
> On Mon, Mar 14, 2016 at 12:03:33AM +0530, Sidhant Sharma wrote: >> Other than this, I also tried to expand the list of potentially destructive >> commands and updated the list as follows (additions in brackets): >> >> * git rebase [ git pull --rebase ] >> * git reset --hard >> * git clean -f >> * git gc --prune=now --aggressive >> * git push -f [ git push <remote> :<branch>, git push <remote> +<branch> ] >> * [ git branch -D ] >> >> Are these additions appropriate? What other commands should be included? >> > git checkout [ref] <file> is destructive too if it would overwrite an > uncomitted change.
Thanks, I'll add that one too. Also, should git checkout -- <file> be added, since it'll discard all uncommitted changes?
Regards, Sidhant Sharma