Where is git checkout --orphan implemented at.

2018-06-05 Thread Sean Hunt
I would like to see the source code to git checkout --orphan so I can learn how 
it works and so I can manually do what it does by hand on making a new branch 
with no history in the refs folder. I can only do it on my iPhone as my laptop 
has no internet or way to do it there, and the program on my iPhone does not 
have the method implemented yet visually to do it, forcing manual creation of 
the orphan branch by hand in the end. If the public github had all the codes to 
all commands and subcommands like the one above it would be nice or well at 
least a file that explains the source file each command and subcommands are 
from so that way a person like me can use as a reference to make our own git 
gui that has 100% of command line git features.

Sent from my iPhone

git bugs

2017-02-23 Thread Sean Hunt
There are a few bugs I git I noticed when using mingw, mingw64,
cygwin, and cygwin64. These bugs are the following:

if I do git ``rebase -i --root`` and tell it to edit every commit to
gpg sign all my commits it bugs out and merges all of the commits into
1 commit instead of only appending the ``-S`` to each and every commit
and keeping all of the commits. It is as if I told it to squash the
commits but yet I did not. There is also another bug where if I clone
a repo on Windows and not on github desktop and that I placed commits
to the repo on github web and then when I rebase to squash the commits
to 1 commit (some repos are doing it as a requirement for 1 commit
PR's) that all of my commits on the remote (fork in this case) that is
linked to an open pull request are discarded and then the pull request
is somehow and oddly closed. It is super annoying.