From: "Max Ivanov" <ivanov.maxim@gmail.com> To: shigorin@gmail.com, "ALT Linux Sisyphus discussions" <sisyphus@lists.altlinux.org> Subject: Re: [sisyphus] [JT] поучительная байка про git reset (было: q: installer.git) Date: Thu, 18 Sep 2008 18:15:20 +0400 Message-ID: <fbfa7b0c0809180715n1c33ad7bre5680510124010ad@mail.gmail.com> (raw) In-Reply-To: <20080918140725.GH25633@osdn.org.ua> Меня с месяца два назад Lost научил на #altlinux таким приемам git-show (или любая нужная тебе команда) HEAD@{1} - откатывает head на один шаг назад, даже если перед этим был ресет на 10 шагов. т.е. было 1) 1-2-3-4-5-6 2) git-reset --hard 4, стало казалось-бы 1-2-3-4 3) git-checkout HEAD@{1} вернет в 1-2-3-4-5-6 =)
next prev parent reply other threads:[~2008-09-18 14:15 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2008-09-18 14:07 Michael Shigorin 2008-09-18 14:15 ` Max Ivanov [this message] 2008-09-18 14:16 ` Damir Shayhutdinov 2008-09-18 14:56 ` Michael Shigorin 2008-09-18 15:15 ` Max Ivanov
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=fbfa7b0c0809180715n1c33ad7bre5680510124010ad@mail.gmail.com \ --to=ivanov.maxim@gmail.com \ --cc=shigorin@gmail.com \ --cc=sisyphus@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Sisyphus discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \ sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru public-inbox-index sisyphus Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.sisyphus AGPL code for this site: git clone https://public-inbox.org/public-inbox.git