What does the -u flag mean in git push -u origin master?
I was just wondering what does the -u flag mean in this command? git push -u origin master 2 Answers 2
I was just wondering what does the -u flag mean in this command? git push -u origin master 2 Answers 2
I recently began using two-factor authentication on GitHub, and I am now unable to use git over https on private repos in the usual way: peter@computer:~$ git clone https://github.com/[…]/MyPrivateRepo Cloning into ‘MyPrivateRepo’… Username for ‘https://github.com’: […] Password for ‘https://[…]@github.com’: remote: Invalid username or password. fatal: Authentication failed for ‘https://github.com/[…]/MyPrivateRepo/’ If I disable two-factor authentication I … Read more
I’m currently on a public WIFI spot and I’m unable to use SSH (they probably blocked that port). However, I need that connection to do a git push. ➜ ssh -T [email protected] ssh: connect to host github.com port 22: Connection refused Is it possible to bypass this restriction by setting up a SSH tunnel via … Read more
I’m writing documents that should explain code in C# using Markdown. I use the “`csharp to get csharp highlighting. I sometimes want to highlight something specific in the code using bold or anything. I know about <pre> etc… but it takes away my csharp highlighting. Best case scenario – some way to highlight code in … Read more
I would like to publish a npm package that contains my source as well as distribution files. My Github repository contains src folder which contains JavaScript source files. The build process generates dist folder that contains the distribution files. Of course, the dist folder is not checked into the Github repository. How do I publish … Read more
Attempting something like git clone git://github.com/ry/node.git will not work, it results in: Initialized empty Git repository in /home/robert/node/.git/ github.com[0: 207.97.227.239]: errno=Connection timed out fatal: unable to connect a socket (Connection timed out) However, cloning over HTTP works fine. So far I’ve gathered that it’s a problem with the protocol, but I’m trying to install cloud9 … Read more
I know that the GitHub web interface lets you search all repositories for files with a particular pathname (e.g. searching for path:/app/models/user.rb yields > 109k results), but is there a way to search all repositories for filenames independent of their subdirectory location? I tried using asterisks in the path argument, and that didn’t seem to … Read more
I have created a fork from a project on GitHub. How can I now pull changes from the project that I forked from? 2 Answers 2
Lately I have been using GitHub and I am wondering what is the repository size limit for files hosted on github.com? I have been wondering this because I was thinking of using GitLab, since it allows 10 GB for each repository. 5 Answers 5
I saw a wiki page on GitHub that isn’t open for editing. Then I forked the project, edited it on “my end” and tried to do a pull request. It turns out, the wiki isn’t in the project, and there isn’t a way to commit changes to it. Other than e-mailing, is there a way … Read more