Simple git question
Bruce Labitt
bruce.labitt at myfairpoint.net
Wed Nov 4 18:04:42 EST 2020
Thanks all. I found that the simple git pull did what I needed it to do.
Built an experimental version of an experimental version... If anyone
is interested I'm trying to hunt down a weird DST/ST time bug. These
are a bear. It's really amazing how often people get this wrong. And
quite annoying when trying to sync up different machines running
different software each with entirely different approaches to time shift
(all of which were actually wrong BTW). At one point the different
devices were 2 hours apart, when they should have been within seconds.
Simple manifestation was a failed file read because the time stamp was
allegedly in the future. (The time stamp was not in the future!) Only
happened once to me and had no tools in place to find it. Wouldn't you
know it, error failed to repeat. If I hadn't saved the debug log, I
couldn't even prove it happened once.
Not actually thinking I'll trap the error, but if it happens again maybe
I can learn a little more how to fix it.
Oh and thanks for the list below, very helpful.
On 11/4/20 5:06 PM, Bill Ricker wrote:
> Dan's way is as good as any.
> (Could also commit to the local branch instead of stashing, which
> would let you diff against your config tweaks.)
>
> I find that understanding what Git is doing really helps me figure out
> what i want to do. My preferred intro for this is
>
> * Git from the inside out
> <https://codewords.recurse.com/issues/two/git-from-the-inside-out>
>
> My other strategic bookmarks -
>
> * Git - Book <https://git-scm.com/book/en/v2>
> * Git - autocomplete
> <https://git-scm.com/book/en/v1/Git-Basics-Tips-and-Tricks#Auto-Completion>
> * Specify an SSH key for git push for a given domain - Stack
> Overflow
> <https://stackoverflow.com/questions/7927750/specify-an-ssh-key-for-git-push-for-a-given-domain>
>
> * rename git branch locally and remotely · GitHub
> <https://gist.github.com/lttlrck/9628955>
> * The Universe of Discourse : How to recover lost files added to Git
> but not committed
> <http://blog.plover.com/prog/git-reset-disaster.html>
> * Git 2.5, including multiple worktrees and triangular workflows
> <https://github.com/blog/2042-git-2-5-including-multiple-worktrees-and-triangular-workflows>
>
> * Difference between git reset soft, mixed and hard
> <https://davidzych.com/difference-between-git-reset-soft-mixed-and-hard/>
>
> * git revert-a-faulty-merge
> <https://github.com/git/git/blob/master/Documentation/howto/revert-a-faulty-merge.txt>
>
> * 10 Common Git Problems and How to Fix Them – citizen428.blog
> <https://citizen428.net/10-common-git-problems-and-how-to-fix-them-e8d809299f08?gi=8ca1f48e3dd3>
>
> [so good i bookmarked it twice, 2nd location Codementor
> <https://www.codementor.io/citizen428/git-tutorial-10-common-git-problems-and-how-to-fix-them-aajv0katd>
> ]
> * git admin: An alias for running git commands as a privileged SSH
> identity – Noam Lewis
> <https://noamlewis.wordpress.com/2013/01/24/git-admin-an-alias-for-running-git-commands-as-a-privileged-ssh-identity/>
>
>
>
> _______________________________________________
> gnhlug-discuss mailing list
> gnhlug-discuss at mail.gnhlug.org
> http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.gnhlug.org/pipermail/gnhlug-discuss/attachments/20201104/da9b1536/attachment-0001.html
More information about the gnhlug-discuss
mailing list