github
How to git pull from public repo via ssh without a key?
I just tried it without key, and I confirm it cannot work (without SSH key): $ git clone [email protected]:rlpowell/config.git Cloning into ‘config’… Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. That is because GitHub won’t authorize anonymous access through SSH … Read more
How to see untracked files in git instead of untracked directory
If git only shows that the directory is untracked, then every file in it (including files in subdirectories) is untracked. If you have some ignored files in the directory, pass the -u flag when running git status (i.e., git status -u) to show the status of individual untracked files.
How to refer to a specific line or range of lines in github?
Note that the problem with the #Lxx-Lyy is that (from this post): source files are subject to change, or even be removed, so there’s no guarantee that your link will always point to the correct place. By default, GitHub project pages link to the most current version of the source. A better practice is to … Read more
Git: Manage each version of my app?
I would recommend using tags (tag tutorial) From your master branch since you are done v1.0 add a tag called v1.0. git tag -a v1.0 -m “Tagging release 1.0” This way you can always come back to a specific version at any time by calling git checkout [tag_name] Another common practice is to use branches … Read more
How to install/setup TortoiseGit to work with GitHub
For anyone looking to change an existing TortoiseGit installation to use PuTTY rather than OpenSSH, simply right-click, -> TortoiseGit -> Settings -> Network, then change ‘ssh.exe’ to ‘tortoiseplink.exe’. From then on, doing a push/pull should be using Pageant (and any keys you have set up in there) if you also have that running.